protected function checkAndConfirm($columns)
    {
        $this->info('Please check the details below');
        dump($columns);
        $ask = $this->ask('OK to proceed? y/n');

        if (strtolower($ask) == 'y') {
            return true;
        } else {
            $this->info('Cancelled');
            die();
        }
    }
protected function checkAndConfirm($columns)
    {
        $this->info('Please check the details below');
        dump($columns);
        $ask = $this->ask('OK to proceed? y/n');

        if (strtolower($ask) == 'y') {
            return true;
        } else {
            $this->info('Cancelled');
            die();
        }
    }
protected function checkAndConfirm ( $ columns ) { $ this -> info ( 'Please check the details below' ) ; dump ( $ columns ) ; $ ask = $ this -> ask ( 'OK to proceed? y/n' ) ; if ( strtolower ( $ ask ) == 'y' ) { return true ; } else { $ this -> info ( 'Cancelled' ) ; die ( ) ; } }
Check and confirm

@param $columns
@return bool
Check and confirm