Home
last modified time | relevance | path

Searched refs:getDeclaringClass (Results 1 – 18 of 18) sorted by relevance

/PHP-8.2/ext/reflection/tests/
H A Dbug45139.phpt24 var_dump($rp->getDeclaringClass()->getName()); // c
28 var_dump($rp->getDeclaringClass()->getName()); // A
32 var_dump($rp->getDeclaringClass()->getName()); // B
36 var_dump($rp->getDeclaringClass()->getName()); // B
40 var_dump($rp->getDeclaringClass()->getName()); // C
44 var_dump($rp->getDeclaringClass()->getName()); // B
48 var_dump($rp->getDeclaringClass()->getName()); // C
H A Dbug39067.phpt2 Bug #39067 (getDeclaringClass() and private properties)
19 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
22 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
25 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
36 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
H A DReflectionProperty_basic2.phpt2 Test usage of ReflectionProperty methods isDefault(), getModifiers(), getDeclaringClass() and getDo…
16 echo "getDeclaringClass():\n";
17 var_dump($propInfo->getDeclaringClass());
47 getDeclaringClass():
63 getDeclaringClass():
79 getDeclaringClass():
97 getDeclaringClass():
H A DReflectionMethod_getDeclaringClass_basic.phpt2 ReflectionMethod::getDeclaringClass()
15 var_dump($methodInfo->getDeclaringClass());
18 var_dump($methodInfo->getDeclaringClass());
H A Dbug81457.phpt2 Bug #81457: Enum ReflectionMethod->getDeclaringClass() return a ReflectionClass
16 echo $me->getDeclaringClass()::class, "\n";
21 echo $mc->getDeclaringClass()::class, "\n";
H A Dparameters_002.phpt83 getDeclaringClass: NULL
96 getDeclaringClass: NULL
109 getDeclaringClass: NULL
122 getDeclaringClass: NULL
135 getDeclaringClass: NULL
148 getDeclaringClass: NULL
162 getDeclaringClass: NULL
177 getDeclaringClass: test
190 getDeclaringClass: test
203 getDeclaringClass: test
[all …]
H A DReflectionClassConstant_basic1.phpt2 …getValue(), isPublic(), isPrivate(), isProtected(), getModifiers(), getDeclaringClass() and getDoc…
27 echo "getDeclaringClass():\n";
28 var_dump($constInfo->getDeclaringClass());
72 getDeclaringClass():
101 getDeclaringClass():
130 getDeclaringClass():
159 getDeclaringClass():
188 getDeclaringClass():
H A DReflectionProperty_getDeclaringClass_variation1.phpt2 Test ReflectionProperty::getDeclaringClass() with inherited properties.
14 var_dump($propInfo->getDeclaringClass());
H A Dbug39001.phpt19 var_dump($r->getProperty('publicVar')->getDeclaringClass()->getName());
20 var_dump($r->getProperty('protectedVar')->getDeclaringClass()->getName());
H A Dbug77325.phpt17 var_dump($constant->getDeclaringClass()->getName());
22 var_dump($constant->getDeclaringClass()->getName());
H A Dbug48336.phpt2 Bug #48286 (ReflectionProperty::getDeclaringClass() does not work with redeclared properties)
31 print($rp->getDeclaringClass()->getName());
H A Dbug38465.phpt26 …echo $method->getDeclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), '…
39 …echo $method->getDeclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), '…
H A Dbug36434.phpt25 echo $p->getName(). " ". $p->getDeclaringClass()->getName()."\n";
H A Dbug80190.phpt26 print $method->getDeclaringClass()->getName() . '::' . $method->getName() . '()' . PHP_EOL;
/PHP-8.2/Zend/tests/traits/
H A Dconstant_019.phpt16 var_dump($reflection->getReflectionConstant('Constant')->getDeclaringClass()->getName());
20 var_dump($reflection->getReflectionConstant('Constant')->getDeclaringClass()->getName());
/PHP-8.2/ext/reflection/
H A Dphp_reflection.stub.php244 public function getDeclaringClass(): ReflectionClass {} function in ReflectionMethod
527 public function getDeclaringClass(): ReflectionClass {} function in ReflectionProperty
604 public function getDeclaringClass(): ReflectionClass {} function in ReflectionClassConstant
640 public function getDeclaringClass(): ?ReflectionClass {} function in ReflectionParameter
H A Dphp_reflection_arginfo.h670 ZEND_METHOD(ReflectionMethod, getDeclaringClass);
743 ZEND_METHOD(ReflectionProperty, getDeclaringClass);
760 ZEND_METHOD(ReflectionClassConstant, getDeclaringClass);
770 ZEND_METHOD(ReflectionParameter, getDeclaringClass);
932 …ZEND_ME(ReflectionMethod, getDeclaringClass, arginfo_class_ReflectionMethod_getDeclaringClass, ZEN…
1023 …ZEND_ME(ReflectionProperty, getDeclaringClass, arginfo_class_ReflectionProperty_getDeclaringClass,…
1046 …ZEND_ME(ReflectionClassConstant, getDeclaringClass, arginfo_class_ReflectionClassConstant_getDecla…
1062 …ZEND_ME(ReflectionParameter, getDeclaringClass, arginfo_class_ReflectionParameter_getDeclaringClas…
H A Dphp_reflection.c2652 ZEND_METHOD(ReflectionParameter, getDeclaringClass) in ZEND_METHOD() argument
3729 ZEND_METHOD(ReflectionMethod, getDeclaringClass) in ZEND_METHOD() argument
3955 ZEND_METHOD(ReflectionClassConstant, getDeclaringClass) in ZEND_METHOD() argument
5787 ZEND_METHOD(ReflectionProperty, getDeclaringClass) in ZEND_METHOD() argument

Completed in 38 milliseconds