REBELinBLUE\Deployer\Console\Commands\UpdateApp::composerOutdated PHP 메소드

composerOutdated() 보호된 메소드

Check if the composer autoload.php has been updated in the last 10 minutes, if not we assume composer install has not be run recently.
protected composerOutdated ( ) : boolean
리턴 boolean
    protected function composerOutdated()
    {
        if (filemtime(base_path('vendor/autoload.php')) < strtotime('-10 minutes')) {
            $this->block(['Update not complete!', PHP_EOL, 'Please run "composer install --no-dev -o" before you continue.']);
            return true;
        }
        return false;
    }