Lines Matching refs:property
21 $property = new ReflectionProperty(TestClass::class, 'foo');
22 var_dump($property->hasDefaultValue());
24 $property = new ReflectionProperty(TestClass::class, 'bar');
25 var_dump($property->hasDefaultValue());
27 $property = new ReflectionProperty(TestClass::class, 'static1');
28 var_dump($property->hasDefaultValue());
30 $property = new ReflectionProperty(TestClass::class, 'static2');
31 var_dump($property->hasDefaultValue());
33 $property = new ReflectionProperty(TestClass::class, 'val1');
34 var_dump($property->hasDefaultValue());
36 $property = new ReflectionProperty(TestClass::class, 'val2');
37 var_dump($property->hasDefaultValue());
39 $property = new ReflectionProperty(TestClass::class, 'nullable');
40 var_dump($property->hasDefaultValue());
42 $property = new ReflectionProperty(TestClass::class, 'nullable2');
43 var_dump($property->hasDefaultValue());
47 $property = new ReflectionProperty($test, 'dynamic');
48 var_dump($property->hasDefaultValue());