Lines Matching refs:property
26 $property = new ReflectionProperty(TestClass::class, 'foo');
27 var_dump($property->getDefaultValue());
29 $property = new ReflectionProperty(TestClass::class, 'bar');
30 var_dump($property->getDefaultValue());
32 $property = new ReflectionProperty(TestClass::class, 'static1');
33 var_dump($property->getDefaultValue());
35 $property = new ReflectionProperty(TestClass::class, 'static2');
36 var_dump($property->getDefaultValue());
38 $property = new ReflectionProperty(TestClass::class, 'val1');
39 var_dump($property->getDefaultValue());
41 $property = new ReflectionProperty(TestClass::class, 'val2');
42 var_dump($property->getDefaultValue());
44 $property = new ReflectionProperty(TestClass::class, 'nullable');
45 var_dump($property->getDefaultValue());
47 $property = new ReflectionProperty(TestClass::class, 'nullable2');
48 var_dump($property->getDefaultValue());
50 $property = new ReflectionProperty(TestClass::class, 'constantAst');
51 var_dump($property->getDefaultValue());
53 $property = new ReflectionProperty(TestClass::class, 'constantRuntimeAst');
54 var_dump($property->getDefaultValue());
58 $property = new ReflectionProperty($test, 'dynamic');
59 var_dump($property->getDefaultValue());