method hydrateAllData<http://www.doctrine-project.org/api/orm/2.2/source-class-Doctrine.ORM.Internal.Hydration.AbstractHydrator.html#_hydrateAllData> () is abstract and must be implemented. That mehod was probably called _hydrateAll( ) and has been changed into hydrateAllData( ); I guess to avoid confusion with the method hydrateAll( ), without an underscore. To know precisely you can look up the history in Github. To see the current methods see http://www.doctrine-project.org/api/orm/2.2/class-Doctrine.ORM.Internal.Hydration.AbstractHydrator.html
Note to all: this should be updated in the documentation. How is that done? Pull request? Wiki-access? Note to the maintainers? *- Herman* On Tuesday, 4 February 2014 17:15:50 UTC+1, Parsifal wrote: > > Hi, > > I did exactly what here is mentioned for custom hydrator as > fetchAll(PDO::FETCH_ASSOC); was the method I was using in doc1. > everything exactly mentioned and NO customization > > http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html > > But I get > > Fatal error: Class MyProject\Hydrators\CustomHydrator contains 1 > abstract method and must therefore be declared abstract or implement > the remaining methods > (Doctrine\ORM\Internal\Hydration\AbstractHydrator::hydrateAllData) in > /home2/edited/CustomHydrator.php on line 7 > > please advice. > -- 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/groups/opt_out.
