Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function indexAction()
- {
- $em = $this->getDoctrine()->getEntityManager();
- $entities = $em->getRepository('GescomProjetsBundle:Projet')->findAll();
- $projets = $client->getProjets();
- foreach ($projets as $value) {
- }
- return $this->render('GescomProjetsBundle:Projet:index.html.twig', array(
- 'entities' => $entities
- ));
- }
Add Comment
Please, Sign In to add comment