doctrine orm getall getquery code example Example: doctrine orm get all $records = $em->getRepository("Entities\YourTargetEntity")->findAll();