Lines Matching refs:reflection

8 $reflection = new ReflectionFunction("zend_test_parameter_with_attribute");
9 $attribute = $reflection->getParameters()[0]->getAttributes()[0];
13 $reflection = new ReflectionMethod("ZendTestClassWithMethodWithParameterAttribute", "no_override");
14 $attribute = $reflection->getParameters()[0]->getAttributes()[0];
18 $reflection = new ReflectionMethod("ZendTestClassWithMethodWithParameterAttribute", "override");
19 $attribute = $reflection->getParameters()[0]->getAttributes()[0];
23 $reflection = new ReflectionMethod("ZendTestChildClassWithMethodWithParameterAttribute", "no_overri…
24 $attribute = $reflection->getParameters()[0]->getAttributes()[0];
28 $reflection = new ReflectionMethod("ZendTestChildClassWithMethodWithParameterAttribute", "override"…
29 $attribute = $reflection->getParameters()[0]->getAttributes()[0];
40 $reflection = new ReflectionMethod("ChildClassWithNoAttribute", "no_override");
41 $attribute = $reflection->getParameters()[0]->getAttributes()[0];
45 $reflection = new ReflectionMethod("ChildClassWithNoAttribute", "override");
46 var_dump(count($reflection->getParameters()[0]->getAttributes()));
55 $reflection = new ReflectionMethod("ChildClassWithSameAttribute", "no_override");
56 $attribute = $reflection->getParameters()[0]->getAttributes()[0];
60 $reflection = new ReflectionMethod("ChildClassWithSameAttribute", "override");
61 $attribute = $reflection->getParameters()[0]->getAttributes()[0];
77 $reflection = new ReflectionMethod("ChildClassWithDifferentAttribute", "no_override");
78 $attribute = $reflection->getParameters()[0]->getAttributes()[0];
82 $reflection = new ReflectionMethod("ChildClassWithDifferentAttribute", "override");
83 $attribute = $reflection->getParameters()[0]->getAttributes()[0];