makeApp() protected method

protected makeApp ( )
Beispiel #1
0
 protected function makeApp()
 {
     $app = parent::makeApp();
     $app->initialize();
     $app['twig.loader'] = new \Twig_Loader_Chain([new \Twig_Loader_String()]);
     $app->boot();
     return $app;
 }
Beispiel #2
0
 protected function makeApp()
 {
     $app = parent::makeApp();
     $app->initialize();
     $verifier = new Validator($app['controller.exception'], $app['config'], $app['resources']);
     $verifier->checks();
     $app->boot();
     return $app;
 }
Beispiel #3
0
 protected function makeApp()
 {
     $app = parent::makeApp();
     $app->initialize();
     $app['twig.loader'] = new \Twig_Loader_Chain([new \Twig_Loader_String()]);
     $verifier = new Validator($app['controller.exception'], $app['config'], $app['resources']);
     $verifier->checks();
     $app->boot();
     return $app;
 }