Lines Matching refs:property
22 $property = new ReflectionProperty(TestClass::class, 'foo');
23 var_dump($property->hasDefaultValue());
25 $property = new ReflectionProperty(TestClass::class, 'bar');
26 var_dump($property->hasDefaultValue());
28 $property = new ReflectionProperty(TestClass::class, 'static1');
29 var_dump($property->hasDefaultValue());
31 $property = new ReflectionProperty(TestClass::class, 'static2');
32 var_dump($property->hasDefaultValue());
34 $property = new ReflectionProperty(TestClass::class, 'val1');
35 var_dump($property->hasDefaultValue());
37 $property = new ReflectionProperty(TestClass::class, 'val2');
38 var_dump($property->hasDefaultValue());
40 $property = new ReflectionProperty(TestClass::class, 'nullable');
41 var_dump($property->hasDefaultValue());
43 $property = new ReflectionProperty(TestClass::class, 'nullable2');
44 var_dump($property->hasDefaultValue());
48 $property = new ReflectionProperty($test, 'dynamic');
49 var_dump($property->hasDefaultValue());