steevanb / doctrine-read-only-hydrator

Add SimpleObject and ReadOnly hydrators do Doctrine.
GNU General Public License v3.0
57 stars 14 forks source link

doHydrateRowData(): go through the chain of parent classes to find the property #17

Open wsldankers opened 4 years ago

wsldankers commented 4 years ago

Private properties can only be found on the class itself, not its subclasses. And doctrine-read-only-hydrator uses a proxy subclass for every entity.