Пример #1
0
 /**
  * Charge la vue du mail
  * @return string La vue du mail
  */
 private function chargerVue()
 {
     $vue = new Vue();
     $twig = $vue->get();
     return $twig->render('mail/' . $this->vue, $this->param);
 }
Пример #2
0
 /**
  * Constructeur de Controleur
  * Charge une vue Twig
  */
 public function __construct()
 {
     $twig = new Vue();
     $this->vue = $twig->get();
 }