menuvue = new Menuvueutilisateur(); $this->menuvue->getMenuVue('Creerdossierclassique'); $this->facture = new Facture(); $this->ouinonhospit = (new Ouinon())->getListe(); $this->raison = (new Raisonconsultation())->getListe(); $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(); $this->genererVue(array('lienbeneficiaire' => $this->lienbeneficiaire, 'liendemandeur' => $this->liendemandeur, 'modepaiement' => $this->modepaiement, 'banque' => $banque, 'raison' => $this->raison, 'ouinonhospit' => $this->ouinonhospit)); } }