menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Payerfactureclassique'); $this->facture = new Facture(); $this->modepaiement = (new Pmodepaiement())->getListe(); } public function index() { $idFacture = $_SESSION['idFacture_C']; $facture = $this->facture->getfactureclassique(); $this->genererVue(array('facture' => $facture, 'modepaiement' => $this->modepaiement)); } }