public function checks() { if ($this->disableApacheChecks) { unset($this->check['apache']); } foreach ($this->check as $checkName => $className) { $response = $this->getValidator($className, $checkName)->check($this->exceptionController); if ($response instanceof Response) { return $response; } } return null; }
protected function makeApp() { $app = parent::makeApp(); $app->initialize(); $verifier = new Validator($app['controller.exception'], $app['config'], $app['resources']); $verifier->checks(); $app->boot(); return $app; }