LoggingConnection extends AbstractConnectionMiddleware
FinalYes
Part of the Doctrine SQL Logging Driver Adapter
Table of Contents
Methods
- __construct() : mixed
- exec() : int
- prepare() : Statement
- query() : Result
Methods
__construct()
public
__construct(Connection $connection, DoctrineSqlLogger $logger) : mixed
Parameters
- $connection : Connection
- $logger : DoctrineSqlLogger
exec()
public
exec(string $sql) : int
Parameters
- $sql : string
Return values
intprepare()
public
prepare(string $sql) : Statement
Parameters
- $sql : string
Return values
Statementquery()
public
query(string $sql) : Result
Parameters
- $sql : string