Searched refs:getMethod (Results 1 – 25 of 41) sorted by relevance
12
/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionClass_getMethod_002.phpt | 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 [all …]
|
H A D | bug30209.phpt | 2 Reflection Bug #30209 (ReflectionClass::getMethod() lowercases attribute) 16 $method = $class->getMethod($this->name);
|
H A D | bug81457.phpt | 14 $me = $re->getMethod('foo'); 19 $mc = $re->getMethod('foo');
|
H A D | bug29828.phpt | 22 var_dump($r->getMethod('bla')->isConstructor()); 23 var_dump($r->getMethod('bla')->isAbstract());
|
H A D | gh9409.phpt | 14 echo (new ReflectionClass('A'))->getMethod('privateMethod'); 15 echo (new ReflectionClass('C'))->getMethod('privateMethod');
|
H A D | bug52057.phpt | 18 var_dump($h = $reflection->getMethod('__invoke')); // true 22 var_dump($h = $reflection->getMethod('__invoke')); // true 26 var_dump($h = $reflection->getMethod('__invoke')); // true
|
H A D | ReflectionMethod_getClosureThis.phpt | 27 $method = $staticclass->getMethod( 'foo' ); 33 $method = $class->getMethod( 'foo' );
|
H A D | ReflectionMethod_getClosure_basic.phpt | 31 $method = $staticclass->getMethod( 'foo' ); 35 $method = $class->getMethod( 'foo' );
|
H A D | ReflectionClass_getMethod_001.phpt | 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("doesNotExist"));
|
H A D | ReflectionMethod_getClosure_error.phpt | 27 $method = $class->getMethod( 'foo' ); 28 $staticmethod = $staticclass->getMethod( 'foo' );
|
H A D | bug33312.phpt | 11 $method = $class->getMethod('bar');
|
H A D | bug51911.phpt | 12 $method = $clazz->getMethod('x');
|
/PHP-8.1/Zend/tests/attributes/ |
H A D | 013_class_scope.phpt | 23 print_r($ref->getMethod('bar')->getAttributes()[0]->getArguments()); 24 print_r($ref->getMethod('bar')->getParameters()[0]->getAttributes()[0]->getArguments()); 42 print_r($ref->getMethod('foo')->getAttributes()[0]->getArguments()); 45 $attr = $ref->getMethod('foo')->getAttributes()[0]; 75 $args = $ref->getMethod('bar')->getAttributes()[0]->getArguments();
|
H A D | 001_placement.phpt | 34 $ref->getMethod('foo'), 35 $ref->getMethod('foo')->getParameters()[0], 36 $ref->getMethod('foo')->getParameters()[1],
|
H A D | 011_inheritance.phpt | 26 print_r(array_map(fn ($a) => $a->getName(), $ref->getMethod('foo')->getAttributes())); 30 print_r(array_map(fn ($a) => $a->getName(), $ref->getMethod('foo')->getAttributes())); 34 print_r(array_map(fn ($a) => $a->getName(), $ref->getMethod('foo')->getAttributes()));
|
/PHP-8.1/ext/reflection/tests/internal_parameter_default_value/ |
H A D | ReflectionParameter_getDefaultValueConstantName_Internal.phpt | 6 $method = $class->getMethod('setTime'); 19 $method = $class->getMethod('getTransitions'); 32 $method = $class->getMethod('listIdentifiers');
|
H A D | ReflectionParameter_isDefaultValueAvailable_Internal.phpt | 6 $method = $class->getMethod('setTime'); 15 $method = $class->getMethod('listIdentifiers');
|
H A D | ReflectionParameter_toString_Internal.phpt | 6 $method = $class->getMethod('setTime'); 15 $method = $class->getMethod('listIdentifiers');
|
H A D | ReflectionParameter_getDefaultValue_Internal.phpt | 6 $method = $class->getMethod('setTime'); 19 $method = $class->getMethod('listIdentifiers');
|
H A D | ReflectionParameter_isDefaultValueConstant_Internal.phpt | 6 $method = $class->getMethod('setTime'); 19 $method = $class->getMethod('listIdentifiers');
|
/PHP-8.1/Zend/tests/object_types/ |
H A D | return_type_reflection.phpt | 16 $returnTypeOne = (new ReflectionClass(One::class))->getMethod('a')->getReturnType(); 19 $returnTypeTwo = (new ReflectionClass(Two::class))->getMethod('a')->getReturnType();
|
H A D | type_hint_reflection.phpt | 16 $typeHintOne = (new ReflectionClass(One::class))->getMethod('a')->getParameters()[0]->getType(); 19 $typeHintTwo = (new ReflectionClass(Two::class))->getMethod('a')->getParameters()[0]->getType();
|
/PHP-8.1/Zend/tests/enum/ |
H A D | backed-tryFrom-casing.phpt | 9 $reflectionMethod = $reflectionEnum->getMethod('tryFrom');
|
/PHP-8.1/ext/phar/tests/ |
H A D | bug74383.phpt | 8 $rm = $rc->getMethod("running");
|
/PHP-8.1/Zend/tests/ |
H A D | bug54013.phpt | 18 $params = $reflectionClass->getMethod('b')->getParameters();
|
Completed in 25 milliseconds
12