REBELinBLUE\Deployer\Console\Commands\InstallApp::verifyNotInstalled PHP Метод

verifyNotInstalled() приватный Метод

Ensures that Deployer has not been installed yet.
private verifyNotInstalled ( ) : boolean
Результат boolean
    private function verifyNotInstalled()
    {
        if (config('app.key') !== false && config('app.key') !== 'SomeRandomString') {
            $this->block(['You have already installed Deployer!', PHP_EOL, 'If you were trying to update Deployer, please use "php artisan app:update" instead.']);
            return false;
        }
        return true;
    }