Bolt\Configuration\ComposerChecks::checkSummary PHP 메소드

checkSummary() 보호된 메소드

protected checkSummary ( )
    protected function checkSummary()
    {
        $status = [];
        $status[] = $this->composerSuffix;
        $checks = [$this->config->getPath('config'), $this->config->getPath('database'), $this->config->getPath('cache'), $this->config->getPath('extensions'), $this->config->getPath('web') . '/extensions'];
        foreach ($checks as $check) {
            if (is_readable($check) && is_writable($check)) {
                $status[] = 'ok';
                $status[] = $check;
            } else {
                $status[] = 'error';
                $status[] = $check;
            }
        }
        return call_user_func_array('sprintf', $status);
    }