protected function getDriver(): string
    {
        $driver = $this->argument('driver') ?: $this->getDriverFromConfig();

        if (! empty($driver)) {
            return $driver;
        }

        throw new RuntimeException('Not enough arguments (missing: "driver").');
    }
protected function getDriver(): string
    {
        $driver = $this->argument('driver') ?: $this->getDriverFromConfig();

        if (! empty($driver)) {
            return $driver;
        }

        throw new RuntimeException('Not enough arguments (missing: "driver").');
    }
protected function getDriver ( ) : string { $ driver = $ this -> argument ( 'driver' ) ? : $ this -> getDriverFromConfig ( ) ; if ( ! empty ( $ driver ) ) { return $ driver ; } throw new RuntimeException ( 'Not enough arguments (missing: "driver").' ) ; }
Get driver argument or first driver in the config.

@return string
Get driver argument or first driver in the config .