REBELinBLUE\Deployer\Console\Commands\UpdateApp::composerOutdated PHP Method

composerOutdated() protected method

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
return 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;
    }