Driver
extends AbstractDriverMiddleware
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- 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
$logger
private
LoggerInterface
$logger
$wrappedDriver
private
Driver
$wrappedDriver
Methods
__construct()
public
__construct(Driver $wrappedDriver) : mixed
Parameters
- $wrappedDriver : Driver
connect()
{@inheritDoc}
public
connect(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, 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
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
Tags
maskPassword()
private
maskPassword(array<string, mixed> $params) : array<string, mixed>
Parameters
- $params : array<string, mixed>
-
Connection parameters