<?php namespace Doctrine\DBAL; use Doctrine\DBAL\Platforms\AbstractPlatform; /** * Contract for a driver that is able to create platform instances by version. * * Doctrine uses different platform classes for different vendor versions to * support the correct features and SQL syntax of each version. * This interface should be implemented by drivers that are capable to do this * distinction. * * @deprecated All drivers will have to be aware of the server version in the next major release. */ interface VersionAwarePlatformDriver extends Driver { /** * Factory method for creating the appropriate platform instance for the given version. * * @param string $version The platform/server version string to evaluate. This should be given in the notation * the underlying database vendor uses. * * @return AbstractPlatform * * @throws Exception If the given version string could not be evaluated. */ public function createDatabasePlatformForVersion($version); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ArrayParameters | Folder | 0755 |
|
|
Cache | Folder | 0755 |
|
|
Connections | Folder | 0755 |
|
|
Driver | Folder | 0755 |
|
|
Event | Folder | 0755 |
|
|
Exception | Folder | 0755 |
|
|
Id | Folder | 0755 |
|
|
Logging | Folder | 0755 |
|
|
Platforms | Folder | 0755 |
|
|
Portability | Folder | 0755 |
|
|
Query | Folder | 0755 |
|
|
SQL | Folder | 0755 |
|
|
Schema | Folder | 0755 |
|
|
Tools | Folder | 0755 |
|
|
Types | Folder | 0755 |
|
|
ArrayParameterType.php | File | 982 B | 0644 |
|
ColumnCase.php | File | 429 B | 0644 |
|
Configuration.php | File | 6.52 KB | 0644 |
|
Connection.php | File | 62.79 KB | 0644 |
|
ConnectionException.php | File | 917 B | 0644 |
|
Driver.php | File | 1.62 KB | 0644 |
|
DriverManager.php | File | 9.06 KB | 0644 |
|
Events.php | File | 1.58 KB | 0644 |
|
Exception.php | File | 4.95 KB | 0644 |
|
ExpandArrayParameters.php | File | 3.69 KB | 0644 |
|
FetchMode.php | File | 333 B | 0644 |
|
LockMode.php | File | 419 B | 0644 |
|
ParameterType.php | File | 982 B | 0644 |
|
Query.php | File | 1.16 KB | 0644 |
|
Result.php | File | 7.85 KB | 0644 |
|
Statement.php | File | 7.46 KB | 0644 |
|
TransactionIsolationLevel.php | File | 601 B | 0644 |
|
VersionAwarePlatformDriver.php | File | 1.02 KB | 0644 |
|