Hi all,

I wonder how to manage properly hydrating phase when my sql statement has
at least one join (with one to many relation).

Let's take a short example :
https://gist.github.com/goten4/8643c9dc3394adeb8a88

I have a common Repository class that manage the simple case, I inject to
the repository the table name, the entity class name, and the hydrator.

In UserRepository, I inject also the group table name, class name and
hydrator.
How should I override getAll() method in my UserRepository to correctly
hydrate the list of users ?

Thanks,
Emmanuel

Reply via email to