Guest User

Untitled

a guest
Aug 18th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 KB | None | 0 0
  1. public function indexAction()
  2.     {
  3.         $em = $this->getDoctrine()->getEntityManager();
  4.  
  5.         $entities = $em->getRepository('GescomProjetsBundle:Projet')->findAll();
  6.  
  7.         $projets = $client->getProjets();
  8.        
  9.         foreach ($projets as $value) {
  10.            
  11.         }
  12.        
  13.         return $this->render('GescomProjetsBundle:Projet:index.html.twig', array(
  14.             'entities' => $entities
  15.         ));
  16.     }
Add Comment
Please, Sign In to add comment