public function listAction()
    {
        $calendars = $this->getDoctrine()
            ->getRepository('CanalTPMttBundle:Calendar')
            ->findBy(
                ['customer' => $this->getUser()->getCustomer()],
                ['id'=>'desc']
            );

        return $this->render('CanalTPMttBundle:Calendar:list.html.twig', [
          'no_left_menu' => true,
          'calendars'    => $calendars
        ]);
    }
public function listAction()
    {
        $calendars = $this->getDoctrine()
            ->getRepository('CanalTPMttBundle:Calendar')
            ->findBy(
                ['customer' => $this->getUser()->getCustomer()],
                ['id'=>'desc']
            );

        return $this->render('CanalTPMttBundle:Calendar:list.html.twig', [
          'no_left_menu' => true,
          'calendars'    => $calendars
        ]);
    }
public function listAction ( ) { $ calendars = $ this -> getDoctrine ( ) -> getRepository ( 'CanalTPMttBundle:Calendar' ) -> findBy ( [ 'customer' => $ this -> getUser ( ) -> getCustomer ( ) ] , [ 'id' => 'desc' ] ) ; return $ this -> render ( 'CanalTPMttBundle:Calendar:list.html.twig' , [ 'no_left_menu' => true , 'calendars' => $ calendars ] ) ; }
Displays calendar list

@return type
Displays calendar list