Lines Matching refs:getMethod
2 ReflectionClass::getMethod() - error cases
15 var_dump($rc->getMethod());
20 var_dump($rc->getMethod("f", "f"));
25 var_dump($rc->getMethod(null));
30 var_dump($rc->getMethod(1));
35 var_dump($rc->getMethod(1.5));
40 var_dump($rc->getMethod(true));
45 var_dump($rc->getMethod(array(1,2,3)));
50 var_dump($rc->getMethod(new C));
60 Warning: ReflectionClass::getMethod() expects exactly 1 parameter, 0 given in %s on line 9
63 Warning: ReflectionClass::getMethod() expects exactly 1 parameter, 2 given in %s on line 14
70 Warning: ReflectionClass::getMethod() expects parameter 1 to be string, array given in %s on line 39
73 Warning: ReflectionClass::getMethod() expects parameter 1 to be string, object given in %s on line …