Driver
in package
implements
VersionAwarePlatformDriver
Interfaces, Classes, Traits and Enums
- VersionAwarePlatformDriver
- Contract for a driver that is able to create platform instances by version.
Table of Contents
- $driver : Driver
- $logger : LoggerInterface
- connect() : mixed
- {@inheritDoc}
- createDatabasePlatformForVersion() : AbstractPlatform
- Factory method for creating the appropriate platform instance for the given version.
- getDatabasePlatform() : mixed
- {@inheritDoc}
- getExceptionConverter() : ExceptionConverter
- getSchemaManager() : mixed
- {@inheritDoc}
- maskPassword() : array<string, mixed>
Properties
$driver
private
Driver
$driver
$logger
private
LoggerInterface
$logger
Methods
connect()
{@inheritDoc}
public
connect(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, mixed>
Return values
mixed —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
Return values
mixed —maskPassword()
private
maskPassword(array<string, mixed> $params) : array<string, mixed>
Parameters
- $params : array<string, mixed>
-
Connection parameters