Thank you for the idea. I also want to hydrate loaded associations. Do you know how I can detect *LOADED* associations?
вторник, 3 февраля 2015 г., 12:19:34 UTC+3 пользователь Marco Pivetta написал: > > You probably want to use to use a ClassMethods hydrator from ZF2: > https://github.com/zendframework/zf2/blob/e99b5977c0cd77223e13e76cce8496c9c744dfb2/library/Zend/Stdlib/Hydrator/ClassMethods.php > > See > http://framework.zend.com/manual/current/en/modules/zend.stdlib.hydrator.html > > Marco Pivetta > > http://twitter.com/Ocramius > > http://ocramius.github.com/ > > On 3 February 2015 at 06:51, Pavel Sokolov <[email protected] <javascript:> > > wrote: > >> Is it possible to hydrate Entity to/from array using getters/setters? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "doctrine-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/doctrine-user. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
