Le 04/02/2014 19:00, Nima Sadjadi a écrit :
I changed it to hydrateAllData( ) as you said now I get:

Fatal error: Class 'MyProject\Hydrators\PDO' not found in
/home2/edited/composer/CustomHydrator.php on line 10
To what should I change the linke below?
         return $this->_stmt->fetchAll(PDO::FETCH_ASSOC);

you are missing a \ (or a use statement) to access classes of the global namespace: \PDO::FETCH_ASSOC

--
Christophe | Stof

--
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.

Reply via email to