protected function proceedWhenInProduction()
    {
        if (env('APP_ENV', 'production') == 'production' && ! $this->option('silent')) {
            $this->warn('Application is in production!');
            $proceed = $this->ask('Are you sure you want to continue? (y/n)', 'n');
            if (! empty($proceed) && $proceed == 'y' || $proceed == 'yes') {
                return true;
            } else {
                $this->info('Abandoned change');
                return false;
            }
        }
        return true;

    }
protected function proceedWhenInProduction()
    {
        if (env('APP_ENV', 'production') == 'production' && ! $this->option('silent')) {
            $this->warn('Application is in production!');
            $proceed = $this->ask('Are you sure you want to continue? (y/n)', 'n');
            if (! empty($proceed) && $proceed == 'y' || $proceed == 'yes') {
                return true;
            } else {
                $this->info('Abandoned change');
                return false;
            }
        }
        return true;

    }
protected function proceedWhenInProduction ( ) { if ( env ( 'APP_ENV' , 'production' ) == 'production' && ! $ this -> option ( 'silent' ) ) { $ this -> warn ( 'Application is in production!' ) ; $ proceed = $ this -> ask ( 'Are you sure you want to continue? (y/n)' , 'n' ) ; if ( ! empty ( $ proceed ) && $ proceed == 'y' || $ proceed == 'yes' ) { return true ; } else { $ this -> info ( 'Abandoned change' ) ; return false ; } } return true ; }
Check to see if the application should proceed

@return bool
Check to see if the application should proceed