Page 1 of 1

How to convert Doctrine 2 models to array

PostPosted: Fri Aug 11, 2017 8:34 pm
by edua1044
$models =$om->getRepository('Entity')->findAll();
How convert this array objects to array of arrays?
I find Hydrator from DoctrineModule, but i can't use it.