Searched refs:getProperty (Results 1 – 25 of 32) sorted by relevance
12
2 ReflectionClass::getProperty() - error cases15 var_dump($rc->getProperty());20 var_dump($rc->getProperty("a", "a"));25 var_dump($rc->getProperty(null));30 var_dump($rc->getProperty(1));35 var_dump($rc->getProperty(1.5));40 var_dump($rc->getProperty(true));45 var_dump($rc->getProperty(array(1,2,3)));50 var_dump($rc->getProperty(new C));57 ReflectionClass::getProperty() expects exactly 1 argument, 0 given[all …]
23 $rp = $rc->getProperty('foo');27 $rp = $rc->getProperty('foo');31 $rp = $rc->getProperty('bar');35 $rp = $rc->getProperty('bar');39 $rp = $rc->getProperty('baz');43 $rp = $rc->getProperty('baz');47 $rp = $rc->getProperty('quux');
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());
2 Bug #53366 (Reflection doesn't get dynamic property value from getProperty())14 var_dump($reflect->getProperty('id'));15 var_dump($reflect->getProperty('id')->getValue($myClass));
21 $s1 = $ref->getProperty('s1');24 $s2 = $ref->getProperty('s2');27 $s3 = $ref->getProperty('s3');
19 var_dump($r->getProperty('publicVar')->getDeclaringClass()->getName());20 var_dump($r->getProperty('protectedVar')->getDeclaringClass()->getName());
12 $rp = $rc->getProperty('prop');14 $rp2 = $rc->getProperty('prop2');
18 var_dump($ro->getProperty('defprop')->isDefault());19 var_dump($ro->getProperty('myprop')->isDefault());
17 var_dump($object->getProperty("a")->getType()->getName());21 var_dump((string) $object->getProperty("a")->getType());
20 var_dump($ref->getProperty('a'));34 $prop = $b2->getProperty('a');
2 ReflectionClass::getProperty()36 var_dump($rc->getProperty("s"));42 var_dump($rc->getProperty("a"));48 var_dump($rc->getProperty("A"));54 var_dump($rc->getProperty("doesNotExist"));
14 var_dump($p->getProperty('test'));30 var_dump($h = $p->getProperty('a'));
19 $y = $rc->getProperty('y');22 $z = $rc->getProperty('z');
27 $rp = $rc->getProperty('prop');36 $rp = $rc->getProperty('prop');42 $rp = $rc->getProperty('prop');
13 $reflectionProperty = $reflectionObject->getProperty('bar');
13 $prop = $reflect->getProperty("staticVar");
24 $property = $reflector->getProperty('prop2');
25 $rp = $rc->getProperty('prop');37 $rp = $rc->getProperty('prop');
18 foreach ($z->getProperty("property")->getAttributes() as $attribute) {
38 'UMLClass::getProperty',
2 Ensure ReflectionClass::getProperty() triggers autoload13 $rc->getProperty("UndefC::p");
57 print_r(array_map(fn ($a) => $a->getName(), $ref->getProperty('a')->getAttributes()));60 print_r(array_map(fn ($a) => $a->getName(), $ref->getProperty('a')->getAttributes()));63 print_r(array_map(fn ($a) => $a->getName(), $ref->getProperty('a')->getAttributes()));
33 $ref->getProperty('x'),
12 $prop = $reflector->getProperty("qux");
29 $reflectionProperty = $reflectionClass->getProperty('prop');
Completed in 21 milliseconds