Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/vendor/theseer/../egulias/.././unicodeveloper/.././nunomaduro/../mews/../maennchen/../theseer/../monolog/../phpoffice/../maennchen/../ramsey/../theseer/../egulias/./../voku/../tijsverkoyen/../egulias/../doctrine/./dbal/src/Driver/Mysqli/..
الملفات الموجودة في هذا الـ Path:
.
..
API
AbstractDB2Driver.php
AbstractException.php
AbstractMySQLDriver.php
AbstractOracleDriver
AbstractOracleDriver.php
AbstractPostgreSQLDriver.php
AbstractSQLServerDriver
AbstractSQLServerDriver.php
AbstractSQLiteDriver
AbstractSQLiteDriver.php
Connection.php
Exception
Exception.php
FetchUtils.php
IBMDB2
Middleware
Middleware.php
Mysqli
OCI8
PDO
PgSQL
Result.php
SQLSrv
SQLite3
ServerInfoAwareConnection.php
Statement.php

مشاهدة ملف: AbstractSQLiteDriver.php

<?php

namespace Doctrine\DBAL\Driver;

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver;
use Doctrine\DBAL\Driver\API\ExceptionConverter;
use Doctrine\DBAL\Driver\API\SQLite;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Platforms\SqlitePlatform;
use Doctrine\DBAL\Schema\SqliteSchemaManager;
use Doctrine\Deprecations\Deprecation;

use function assert;

/**
 * Abstract base implementation of the {@see Doctrine\DBAL\Driver} interface for SQLite based drivers.
 */
abstract class AbstractSQLiteDriver implements Driver
{
    /**
     * {@inheritDoc}
     */
    public function getDatabasePlatform()
    {
        return new SqlitePlatform();
    }

    /**
     * {@inheritDoc}
     *
     * @deprecated Use {@link SqlitePlatform::createSchemaManager()} instead.
     */
    public function getSchemaManager(Connection $conn, AbstractPlatform $platform)
    {
        Deprecation::triggerIfCalledFromOutside(
            'doctrine/dbal',
            'https://github.com/doctrine/dbal/pull/5458',
            'AbstractSQLiteDriver::getSchemaManager() is deprecated.'
                . ' Use SqlitePlatform::createSchemaManager() instead.',
        );

        assert($platform instanceof SqlitePlatform);

        return new SqliteSchemaManager($conn, $platform);
    }

    public function getExceptionConverter(): ExceptionConverter
    {
        return new SQLite\ExceptionConverter();
    }
}