menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Listederogations'); $this->listederogation = (new Derogation())->getListe(); $this->reponsederogation = (new Reponsederogation())->getListe(); $this->prestataire = new Prestataire(); } public function index() { $prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']); $this->genererVue(array('listederogation' => $this->listederogation, 'reponsederogation' => $this->reponsederogation)); } }