doctrine orm get all

PHP
$records = $em->getRepository("Entities\YourTargetEntity")->findAll();
Source

Also in PHP: