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));
59 ReflectionClass::getMethod() expects exactly 1 argument, 0 given
60 ReflectionClass::getMethod() expects exactly 1 argument, 2 given
65 ReflectionClass::getMethod(): Argument #1 ($name) must be of type string, array given
66 ReflectionClass::getMethod(): Argument #1 ($name) must be of type string, C given