Skip to content

ReplayDoctrineDbalDatabase

DoctrineDbalDatabase, with DoctrineRecordingMiddleware installed on the connection it builds.

Registered under the doctrine_dbal driver alias by ReplayDoctrinePlugin in place of the plain DoctrineDbalDatabase quioteframework/db-doctrine’s own DoctrinePlugin registers.

final class ReplayDoctrineDbalDatabase extends DoctrineDbalDatabase

ExtendsDoctrineDbalDatabase
SourceReplayDoctrineDbalDatabase.php

These come from an ancestor and are documented where they are declared.

MethodDeclared inDescription
appendParameter()ParameterHolderAppend a parameter.
appendParameterByRef()ParameterHolderAppend a parameter by reference.
clearParameters()ParameterHolderClear all parameters associated with this request.
getConnection()DatabaseRetrieve the database connection associated with this Database implementation.
getDatabaseManager()DatabaseRetrieve the Database Manager instance for this implementation.
getDbalConnection()DoctrineDbalDatabaseReturns the DBAL connection, connecting on first use.
getFlatParameterNames()ParameterHolderRetrieve an array of flattened parameter names.
getName()DatabaseRetrieve the name of this database connection.
getParameter()ParameterHolderRetrieve a parameter.
getParameterNames()ParameterHolderRetrieve an array of parameter names.
getParameters()ParameterHolderRetrieve an array of parameters.
getPdo()DoctrineDbalDatabaseOnly available when the configured driver is a pdo_* one (pdo_mysql, pdo_pgsql, pdo_sqlite, …) — DBAL 4 also supports native drivers (mysqli, pgsql) that never construct a \PDO instance at all.
getQueryBuilder()DoctrineDbalDatabaseReturns a fresh DBAL query builder bound to this connection.
getResource()DatabaseRetrieve a raw database resource associated with this Database implementation.
hasParameter()ParameterHolderIndicates whether or not a parameter exists.
initialize()DatabaseInitialize this Database.
ping()DoctrineDbalDatabaseProbes the connection with SELECT 1.
removeParameter()ParameterHolderRemove a parameter.
reset()DatabaseReturns this Database to its pre-initialize() state.
setParameter()ParameterHolderSet a parameter.
setParameterByRef()ParameterHolderSet a parameter by reference.
setParameters()ParameterHolderSet an array of parameters.
setParametersByRef()ParameterHolderSet an array of parameters by reference.
shutdown()DoctrineDbalDatabaseRolls back any open transaction, closes the connection and drops it.
startup()DatabaseDo any necessary startup work after initialization.