Lines Matching refs:ref
19 $ref = new \ReflectionClass(C1::class);
20 print_r($ref->getAttributes()[0]->getArguments());
21 print_r($ref->getReflectionConstant('FOO')->getAttributes()[0]->getArguments());
22 print_r($ref->getProperty('a')->getAttributes()[0]->getArguments());
23 print_r($ref->getMethod('bar')->getAttributes()[0]->getArguments());
24 print_r($ref->getMethod('bar')->getParameters()[0]->getAttributes()[0]->getArguments());
41 $ref = new \ReflectionClass(C2::class);
42 print_r($ref->getMethod('foo')->getAttributes()[0]->getArguments());
44 $ref = new \ReflectionClass(T1::class);
45 $attr = $ref->getMethod('foo')->getAttributes()[0];
70 $ref = new \ReflectionObject(C3::foo());
72 $args = $ref->getAttributes()[0]->getArguments();
73 var_dump($args[0] == $ref->getName(), $args[1]);
75 $args = $ref->getMethod('bar')->getAttributes()[0]->getArguments();
76 var_dump($args[0] == $ref->getName(), $args[1]);