Controller/ContainerController.php
public function getContainersAction() {
        $em = $this->getDoctrine()->getManager();

        // TODO : Check user access !

        $containers = $em->getRepository('InterneSeanceBundle:Container')->findAll();

        $view = $this->view($containers, Response::HTTP_OK);

        return $this->handleView($view);
    }
public function getContainersAction() {
        $em = $this->getDoctrine()->getManager();

        // TODO : Check user access !

        $containers = $em->getRepository('InterneSeanceBundle:Container')->findAll();

        $view = $this->view($containers, Response::HTTP_OK);

        return $this->handleView($view);
    }
public function getContainersAction ( ) { $ em = $ this -> getDoctrine ( ) -> getManager ( ) ; // TODO : Check user access ! $ containers = $ em -> getRepository ( 'InterneSeanceBundle:Container' ) -> findAll ( ) ; $ view = $ this -> view ( $ containers , Response :: HTTP_OK ) ; return $ this -> handleView ( $ view ) ; }
Gets the list of all Containers.
Gets the list of all Containers .