Re: [PHP-DEV] ReflectionProperty::has/getDefaultValue

2020-01-15 Thread Mike Schinkel
> On Jan 15, 2020, at 9:52 AM, Benjamin Eberlei wrote: > > Hi everyone, > > until now there was no way on ReflectionProperty to easily find out if a > value has a default value and what that default value is. Essentially the > way was indirectly through ReflectionClass::getDefaultProperties(). >

[PHP-DEV] ReflectionProperty::has/getDefaultValue

2020-01-15 Thread Benjamin Eberlei
Hi everyone, until now there was no way on ReflectionProperty to easily find out if a value has a default value and what that default value is. Essentially the way was indirectly through ReflectionClass::getDefaultProperties(). In combination with typed properties and Reflection use cases (for co