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.
Synopsis
Section titled “Synopsis”final class ReplayDoctrineDbalDatabase extends DoctrineDbalDatabase
| Extends | DoctrineDbalDatabase |
| Source | ReplayDoctrineDbalDatabase.php |
Inherited methods
Section titled “Inherited methods”These come from an ancestor and are documented where they are declared.
| Method | Declared in | Description |
|---|---|---|
appendParameter() | ParameterHolder | Append a parameter. |
appendParameterByRef() | ParameterHolder | Append a parameter by reference. |
clearParameters() | ParameterHolder | Clear all parameters associated with this request. |
getConnection() | Database | Retrieve the database connection associated with this Database implementation. |
getDatabaseManager() | Database | Retrieve the Database Manager instance for this implementation. |
getDbalConnection() | DoctrineDbalDatabase | Returns the DBAL connection, connecting on first use. |
getFlatParameterNames() | ParameterHolder | Retrieve an array of flattened parameter names. |
getName() | Database | Retrieve the name of this database connection. |
getParameter() | ParameterHolder | Retrieve a parameter. |
getParameterNames() | ParameterHolder | Retrieve an array of parameter names. |
getParameters() | ParameterHolder | Retrieve an array of parameters. |
getPdo() | DoctrineDbalDatabase | Only 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() | DoctrineDbalDatabase | Returns a fresh DBAL query builder bound to this connection. |
getResource() | Database | Retrieve a raw database resource associated with this Database implementation. |
hasParameter() | ParameterHolder | Indicates whether or not a parameter exists. |
initialize() | Database | Initialize this Database. |
ping() | DoctrineDbalDatabase | Probes the connection with SELECT 1. |
removeParameter() | ParameterHolder | Remove a parameter. |
reset() | Database | Returns this Database to its pre-initialize() state. |
setParameter() | ParameterHolder | Set a parameter. |
setParameterByRef() | ParameterHolder | Set a parameter by reference. |
setParameters() | ParameterHolder | Set an array of parameters. |
setParametersByRef() | ParameterHolder | Set an array of parameters by reference. |
shutdown() | DoctrineDbalDatabase | Rolls back any open transaction, closes the connection and drops it. |
startup() | Database | Do any necessary startup work after initialization. |