Skip to content

classes_reflection_wdfreflectionmethod.class

Daniel Spors edited this page Dec 19, 2023 · 2 revisions

Classes in file reflection/wdfreflectionmethod.class.php

class WdfReflectionMethod

Wraps ReflectionMethod class and overrides invokeArgs method to allow control extender pattern to work.

Extends: ReflectionMethod

invokeArgs

Overrides default invokeArgs method See ReflectionMethod::invokeArgs Will additionally check all defined extenders and call the method there if present.

Definition: public function invokeArgs($object, $argsarray)

Returns: mixed Returns the method result.

Parameters:

  • object $object The object to invoke the method on. In case of static methods, you can pass null to this parameter

  • array $argsarray The parameters to be passed to the function, as an array

Clone this wiki locally