menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Gcfacturescumul'); $this->gc = new Gestionconfiee(); $this->periode = (new Periode)->getListe(); $this->exercice = (new Exercice())->getListe(); $this->periode2 = (new Periode)->getListe(); $this->exercice2 = (new Exercice())->getListe(); } public function index() { $gc = $this->gc->getListe() ; $chemin = $this->menuvue->getChemin('Gcfacturescumul'); $this->genererVue(array('gc' => $gc, 'periode' => $this->periode, 'exercice' => $this->exercice, 'periode2' => $this->periode2, 'exercice2' => $this->exercice2, 'chemin' => $chemin)); } }