I understand, but you know that I always give this answer. A lot of people use Doctrine while they would be better off if they wouldn't. Like a Formula-1 might not be the best choice as a vehicle to use on a small country road, especially if you not even have a driving license yet. I always wonder why some prople choose to use an ORM, while they don't use OOP. Forgive me putting the same question over and over again. I'll stop it: you know it by now.
Isn't this example from the documentation about custom hydrators wxactly what you are looking for? http://docs.doctrine-project.org/en/latest/reference/dql-doctrine-query-language.html#custom-hydration-modes Have you tried? On Sunday, 20 April 2014 16:44:29 UTC+2, Parsifal wrote: > > Of course i could do hydrate with php functions just wanted to make sure > if there is a way to create such custom hydrator with pdo as doctrine > allows to create a custom hydrator.... > -- 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.
