Bolt\Configuration\Validation\Validator::checks PHP Method

checks() public method

Run system installation checks.
public checks ( )
    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;
    }

Usage Example

Example #1
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;
 }
All Usage Examples Of Bolt\Configuration\Validation\Validator::checks