Lines Matching refs:invoke
2 ReflectionMethod::invoke() errors
30 echo "invoke() on a non-object:\n";
32 var_dump($foo->invoke(true));
39 var_dump($foo->invoke(new stdClass()));
46 var_dump($privateMethod->invoke($testClassInstance));
54 $abstractMethod->invoke(true);
61 invoke() on a non-object:
62 string(85) "ReflectionMethod::invoke(): Argument #1 ($object) must be of type ?object, bool given"
64 invoke() on a non-instance:
68 string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod"
71 string(53) "Trying to invoke abstract method AbstractClass::foo()"