Why do you want an array of proxies (in stead of real entities) when performing such a query?
-- Jasper N. Brouwer (@jaspernbrouwer) On 24 July 2014 at 12:35:17, Marco Pivetta ([email protected]) wrote: > That's a decision that is up to the orm, not you. There is no explicit way > to force proxy retrieval. > On 24 Jul 2014 12:32, "Bui Trung Tan" wrote: > > > Hi everyone, > > > > When we get result by *$entity_manager->createQuery('select a FROM > > MyEntity a')->getResult()* , it returns an array of MyEntity elements. > > > > How can I get an array of Proxy (of MyEntity) elements as return? > > > > Thanks! -- 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.
