<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Connection;

use Doctrine\DBAL\ServerVersionProvider;

class StaticServerVersionProvider implements ServerVersionProvider
{
    public function __construct(private readonly string $version)
    {
    }

    public function getServerVersion(): string
    {
        return $this->version;
    }
}
