Lines Matching refs:property
27 $property = new ReflectionProperty(TestClass::class, 'foo');
28 var_dump($property->getDefaultValue());
30 $property = new ReflectionProperty(TestClass::class, 'bar');
31 var_dump($property->getDefaultValue());
33 $property = new ReflectionProperty(TestClass::class, 'static1');
34 var_dump($property->getDefaultValue());
36 $property = new ReflectionProperty(TestClass::class, 'static2');
37 var_dump($property->getDefaultValue());
39 $property = new ReflectionProperty(TestClass::class, 'val1');
40 var_dump($property->getDefaultValue());
42 $property = new ReflectionProperty(TestClass::class, 'val2');
43 var_dump($property->getDefaultValue());
45 $property = new ReflectionProperty(TestClass::class, 'nullable');
46 var_dump($property->getDefaultValue());
48 $property = new ReflectionProperty(TestClass::class, 'nullable2');
49 var_dump($property->getDefaultValue());
51 $property = new ReflectionProperty(TestClass::class, 'constantAst');
52 var_dump($property->getDefaultValue());
54 $property = new ReflectionProperty(TestClass::class, 'constantRuntimeAst');
55 var_dump($property->getDefaultValue());
59 $property = new ReflectionProperty($test, 'dynamic');
60 var_dump($property->getDefaultValue());