REBELinBLUE\Deployer\Console\Commands\ResetApp::verifyNotProduction PHP Method

verifyNotProduction() private method

Ensures that the command is running locally and in debugging mode.
private verifyNotProduction ( ) : boolean
return 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;
    }