menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Demandefraisfuneraire'); $this->fraisfuneraire = new Fraisfuneraire(); $this->lienbeneficiaire = (new Lienbeneficiaire())->getListe(); $this->liendemandeur = (new Lienbeneficiaire())->getListe(); $this->modepaiement = (new Pmodepaiement())->getListe(); $this->banque = new Banque(); } public function index() { $banque = $this->banque->getListe(); $montant_fraisfuneraire = $this->fraisfuneraire->getmontant_fraisfuneraire(); $this->genererVue(array('lienbeneficiaire' => $this->lienbeneficiaire, 'liendemandeur' => $this->liendemandeur, 'montant_fraisfuneraire' => $montant_fraisfuneraire, 'modepaiement' => $this->modepaiement, 'banque' => $banque)); } }