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" <[email protected]> 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.
>
--
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.