6dreams/rich-model-trait

Doctrine CGProxy

dotfry opened this issue · 1 comments

Sometimes, when using private properties reflection can't find property (check CGProxy and Docrine code).

Current fix: use protected properties.

ReflectionClass::hasProperty doesnt have access to private properties. Replaced to ReflectionClass::getProperties.