private function confirmConnectionAndMigration()
    {
        // Verify which connection to use.
        $connection = $this->verifyConnection();

        // Check if the data table exists against this connection.
        if ($this->checkTableExists($this->argument('dataset'), true, $connection)) {
            $this->error(sprintf('\'%s\' table already exists.', 'data_'.$this->argument('dataset')));
            $this->line('');

            exit(1);
        }

        return $connection;
    }
private function confirmConnectionAndMigration()
    {
        // Verify which connection to use.
        $connection = $this->verifyConnection();

        // Check if the data table exists against this connection.
        if ($this->checkTableExists($this->argument('dataset'), true, $connection)) {
            $this->error(sprintf('\'%s\' table already exists.', 'data_'.$this->argument('dataset')));
            $this->line('');

            exit(1);
        }

        return $connection;
    }
private function confirmConnectionAndMigration ( ) { // Verify which connection to use. $ connection = $ this -> verifyConnection ( ) ; // Check if the data table exists against this connection. if ( $ this -> checkTableExists ( $ this -> argument ( 'dataset' ) , true , $ connection ) ) { $ this -> error ( sprintf ( '\'%s\' table already exists.' , 'data_' . $ this -> argument ( 'dataset' ) ) ) ; $ this -> line ( '' ) ; exit ( 1 ) ; } return $ connection ; }
Confirm migration can occur by checking database.

@return void

@SuppressWarnings(PHPMD.ExitExpression)
Confirm migration can occur by checking database .