REBELinBLUE\Deployer\Console\Commands\ResetApp::verifyNotProduction PHP Метод

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

Ensures that the command is running locally and in debugging mode.
private verifyNotProduction ( ) : boolean
Результат boolean
    private function verifyNotProduction()
    {
        if (config('app.env') !== 'local') {
            $this->block(['Deployer is not in development mode!', PHP_EOL, 'This command does not run in production as its purpose is to wipe your database']);
            return false;
        }
        return true;
    }