dotfry opened this issue 7 years ago · 1 comments
Sometimes, when using private properties reflection can't find property (check CGProxy and Docrine code).
private
Current fix: use protected properties.
protected
ReflectionClass::hasProperty doesnt have access to private properties. Replaced to ReflectionClass::getProperties.
ReflectionClass::hasProperty
ReflectionClass::getProperties