AbstractPostgreSQLDriver
in package
implements
VersionAwarePlatformDriver
Abstract base implementation of the {@link Driver} interface for PostgreSQL based drivers.
Interfaces, Classes, Traits and Enums
- VersionAwarePlatformDriver
- Contract for a driver that is able to create platform instances by version.
Table of Contents
- createDatabasePlatformForVersion() : AbstractPlatform
- Factory method for creating the appropriate platform instance for the given version.
- getDatabasePlatform() : mixed
- {@inheritdoc}
- getExceptionConverter() : ExceptionConverter
- getSchemaManager() : mixed
- {@inheritdoc}
Methods
createDatabasePlatformForVersion()
Factory method for creating the appropriate platform instance for the given version.
public
createDatabasePlatformForVersion(mixed $version) : AbstractPlatform
Parameters
- $version : mixed
-
The platform/server version string to evaluate. This should be given in the notation the underlying database vendor uses.
Return values
AbstractPlatform —getDatabasePlatform()
{@inheritdoc}
public
getDatabasePlatform() : mixed
Return values
mixed —getExceptionConverter()
public
getExceptionConverter() : ExceptionConverter
Return values
ExceptionConverter —getSchemaManager()
{@inheritdoc}
public
getSchemaManager(Connection $conn, AbstractPlatform $platform) : mixed
Parameters
- $conn : Connection
- $platform : AbstractPlatform