accueil(); break; case "connection": $this->connection(); break; case "inscription": $this->inscription(); break; case "consulterProfilLimite": $this->consulterProfilLimite(); break; default: $dVueErreur[] ="Action inconnue ou non autorisée"; echo $twig->render("erreur.html",['dVueEreur' => $dVueErreur]); } } protected function connection() { global $twig; echo $twig->render('connection.html', []); } protected function inscription() { global $twig; echo $twig->render('inscription.html', []); } protected function accueil() { global $twig; echo $twig->render('accueil.html', []); } protected function consulterProfilLimite() { //TODO } }