Not 100% sure about that, but you should try looking at the docs for custom
hydrators.
Just looking at the diffs of the custom hydrator bundle I found some useful
stuff:
https://github.com/symfony/symfony/pull/471/files
Not sure if the hydrator acts on a single row or on the entire resultset
thou
Hello!
Using symfony2 and doctrine I'm trying to build a graph (no loops) of
referencing documents. I've properly built a self-related entity "Document",
so getting/setting closest parents and childs (each document can have any
number of parents and/or childs) is not a problem. My question is: w