Spatie\Backup\Exceptions\InvalidConfiguration::cannotUseUnsupportedDriver PHP Method

cannotUseUnsupportedDriver() public static method

public static cannotUseUnsupportedDriver ( string $connectionName, string $driverName ) : InvalidConfiguration
$connectionName string
$driverName string
return InvalidConfiguration
    public static function cannotUseUnsupportedDriver(string $connectionName, string $driverName) : InvalidConfiguration
    {
        return new static("Db connection `{$connectionName}` uses an unsupported driver `{$driverName}`. Only `mysql` and `pgsql` are supported.");
    }
InvalidConfiguration