Searched refs:getMethod (Results 1 – 25 of 28) sorted by relevance
12
2 ReflectionClass::getMethod() - error cases15 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[all …]
2 Reflection Bug #30209 (ReflectionClass::getMethod() lowercases attribute)16 $method = $class->getMethod($this->name);
22 var_dump($r->getMethod('bla')->isConstructor());23 var_dump($r->getMethod('bla')->isAbstract());
18 var_dump($h = $reflection->getMethod('__invoke')); // true22 var_dump($h = $reflection->getMethod('__invoke')); // true26 var_dump($h = $reflection->getMethod('__invoke')); // true
27 $method = $staticclass->getMethod( 'foo' );33 $method = $class->getMethod( 'foo' );
2 ReflectionClass::getMethod()35 var_dump($rc->getMethod("f"));37 var_dump($rc->getMethod("s"));39 var_dump($rc->getMethod("F"));42 var_dump($rc->getMethod("doesntExist"));
37 $method = $staticclass->getMethod( 'foo' );41 $method = $class->getMethod( 'foo' );
11 $method = $class->getMethod('bar');
12 $method = $clazz->getMethod('x');
10 $reflection_method = $reflection_class->getMethod('__invoke');
33 $method = $class->getMethod( 'foo' );34 $staticmethod = $staticclass->getMethod( 'foo' );
18 print_r(($method = $obj->getMethod("Bmethod")));
16 $method = $clazz->getMethod('x');
35 echo $reflectionClass->getMethod('bar')->getDocComment() . PHP_EOL;
16 $m=$a->getMethod("a");
37 'UMLClass::getMethod',
20 $method = $reflection->getMethod("bravo");
9 $rm = $ro->getMethod('__invoke');
16 $returnTypeOne = (new ReflectionClass(One::class))->getMethod('a')->getReturnType();19 $returnTypeTwo = (new ReflectionClass(Two::class))->getMethod('a')->getReturnType();
16 $typeHintOne = (new ReflectionClass(One::class))->getMethod('a')->getParameters()[0]->getType();19 $typeHintTwo = (new ReflectionClass(Two::class))->getMethod('a')->getParameters()[0]->getType();
27 function getMethod() {return $this->method;}34 $method = $x->getMethod();
10 $method = $class->getMethod('query');
8 $objRfMethod = $objRfClass->getMethod('__soapCall');
8 $rm = $rc->getMethod("running");
18 $params = $reflectionClass->getMethod('b')->getParameters();
Completed in 26 milliseconds