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]> 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]. > 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. > -- 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.
