AbstractPostgreSQLDriver
in package
implements
VersionAwarePlatformDriver
AbstractYes
Abstract base implementation of the {@see Driver} interface for PostgreSQL based drivers.
Table of Contents
Interfaces
- VersionAwarePlatformDriver
- Contract for a driver that is able to create platform instances by version.
Methods
- 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
AbstractPlatformgetDatabasePlatform()
{@inheritDoc}
public
getDatabasePlatform() : mixed
getExceptionConverter()
public
getExceptionConverter() : ExceptionConverter
Return values
ExceptionConvertergetSchemaManager()
{@inheritDoc}
public
getSchemaManager(Connection $conn, AbstractPlatform $platform) : mixed
Parameters
- $conn : Connection
- $platform : AbstractPlatform