protected function makeApp() { $app = parent::makeApp(); $app->initialize(); $app['twig.loader'] = new \Twig_Loader_Chain([new \Twig_Loader_String()]); $app->boot(); return $app; }
protected function makeApp() { $app = parent::makeApp(); $app->initialize(); $verifier = new Validator($app['controller.exception'], $app['config'], $app['resources']); $verifier->checks(); $app->boot(); return $app; }
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; }