src/Configurator.php
public function setEngine(string $engine): void
    {
        $enginesAvailables = PDO::getAvailableDrivers();
        if (!\in_array($engine, $enginesAvailables, true)) {
            throw new DatabaseException('The engine "' . $engine . '" is not available for PDO');
        }

        $this->engine = $engine;
    }
public function setEngine(string $engine): void
    {
        $enginesAvailables = PDO::getAvailableDrivers();
        if (!\in_array($engine, $enginesAvailables, true)) {
            throw new DatabaseException('The engine "' . $engine . '" is not available for PDO');
        }

        $this->engine = $engine;
    }
@param string $engine

@throws DatabaseException