/** * Page d'accueil */ public function home() { $newFormation = new \Manager\FormationManager(); $countFormation = $newFormation->countFormations(); $newUser = new \Manager\UserManager(); $countKikologue = $newUser->countKikologue(); $this->show('default/home', ['nbrFormation' => $countFormation['nbrFormation'], 'nbrKikologue' => $countKikologue['nbrKikologue']]); }