Promoting Methods ----------------- Methods can be promoted similarly to :doc:`properties ` - just use ``promoteMethods()`` instead of ``promoteProperties():`` .. code-block:: php :caption: **example.php** $method(); } protected function protectedMethod(): string { } } .. code-block:: php :caption: **.houdini.php** overrideClass(YourDynamicClass::class) ->promoteMethods() ->filter( AccessFilter::isProtected() ); Go to the :doc:`next step ` to see how filters work.