Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4133076
AbstractSQLiteDriver.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
AbstractSQLiteDriver.php
View Options
<?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
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 11:57 (3 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5b/38/a40dbf69a3414521ee98e3230693
Default Alt Text
AbstractSQLiteDriver.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment