Your IP : 216.73.216.220


Current Path : /var/www/surf/TYPO3/vendor/doctrine/dbal/src/Schema/
Upload File :
Current File : /var/www/surf/TYPO3/vendor/doctrine/dbal/src/Schema/LegacySchemaManagerFactory.php

<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Schema;

use Doctrine\DBAL\Connection;

/** @internal Will be removed in 4.0. */
final class LegacySchemaManagerFactory implements SchemaManagerFactory
{
    public function createSchemaManager(Connection $connection): AbstractSchemaManager
    {
        return $connection->getDriver()->getSchemaManager(
            $connection,
            $connection->getDatabasePlatform(),
        );
    }
}