Lines Matching refs:invoke
2 ReflectionMethod::invoke()
52 var_dump($foo->invoke($testClassInstance));
54 var_dump($foo->invoke($testClassInstance, true));
58 var_dump($methodWithArgs->invoke($testClassInstance, 1, "arg2"));
59 var_dump($methodWithArgs->invoke($testClassInstance, 1, "arg2", 3));
64 var_dump($staticMethod->invoke());
69 var_dump($staticMethod->invoke(true));
73 var_dump($staticMethod->invoke(new stdClass()));
77 var_dump($methodThatThrows->invoke($testClassInstance));
105 ReflectionMethod::invoke() expects at least 1 argument, 0 given
106 ReflectionMethod::invoke(): Argument #1 ($object) must be of type ?object, bool given