Searched refs:getProperty (Results 1 – 25 of 37) 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())15 var_dump($reflect->getProperty('id'));16 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');
19 var_dump($ro->getProperty('defprop')->isDefault());20 var_dump($ro->getProperty('myprop')->isDefault());
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"));
15 var_dump($p->getProperty('test'));32 var_dump($h = $p->getProperty('a'));
19 $y = $rc->getProperty('y');22 $z = $rc->getProperty('z');
13 $prop = $reflect->getProperty("staticVar");
14 $reflectionProperty = $reflectionObject->getProperty('bar');
24 $property = $reflector->getProperty('prop2');
18 foreach ($z->getProperty("property")->getAttributes() as $attribute) {
2 Ensure ReflectionClass::getProperty() triggers autoload13 $rc->getProperty("UndefC::p");
17 var_dump($object->getProperty("a")->getType()->getName());21 var_dump((string) $object->getProperty("a")->getType());
25 $rp = $rc->getProperty('prop');37 $rp = $rc->getProperty('prop');
29 $rp = $rc->getProperty('prop');41 $rp = $rc->getProperty('prop');
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()));
9 $p = $r->getProperty('value');
12 $prop = $reflector->getProperty("qux");
22 $attr = $ref->getProperty('param')->getAttributes();
20 $attr = $ref->getProperty('param')->getAttributes();
Completed in 15 milliseconds