Beispiel #1
0
 public function indexAction()
 {
     // Charge environnement de developpement
     $utilisateurCourrant = Utilisateur::getUtilisateurCourant();
     $liste5DerniersAppartementsEnregistres = Appartement::getCinqDerniersAppartements();
     $listeAllAppartements = Appartement::getAllAppartements();
     dump(Appartement::getAllAppartements());
     return $this->render('GestimoAccueilBundle:Accueil:index.html.twig', array('listeCinqDerniers' => $liste5DerniersAppartementsEnregistres, 'listeAllAppartements' => $listeAllAppartements));
 }