public function indexAction()
    {
        $em = $this->getDoctrine()->getEntityManager();

        $entities = $em->getRepository('DMSLauncherBundle:PreUser')->findAll();

        return array('entities' => $entities);
    }
public function indexAction()
    {
        $em = $this->getDoctrine()->getEntityManager();

        $entities = $em->getRepository('DMSLauncherBundle:PreUser')->findAll();

        return array('entities' => $entities);
    }
public function indexAction ( ) { $ em = $ this -> getDoctrine ( ) -> getEntityManager ( ) ; $ entities = $ em -> getRepository ( 'DMSLauncherBundle:PreUser' ) -> findAll ( ) ; return array ( 'entities' => $ entities ) ; }
Lists all PreUser entities.

@Route("/", name="admin_preuser")
@Template()
Lists all PreUser entities .