DoctrineSqlLogger implements LoggerAwareInterface uses LoggerAwareTrait
Doctrine SQL Logger implementation for recording queries for the admin panel
Table of Contents
Interfaces
- LoggerAwareInterface
Properties
- $currentQuery : int
- $enabled : bool
- If Debug Stack is enabled (log queries) or not.
- $queries : array
- Executed SQL queries.
- $start : float
Methods
- enable() : void
- getQueries() : array
- startQuery() : void
- stopQuery() : void
Properties
$currentQuery
protected
int
$currentQuery
= 0
$enabled
If Debug Stack is enabled (log queries) or not.
protected
bool
$enabled
= false
$queries
Executed SQL queries.
protected
array
$queries
= []
$start
protected
float
$start
Methods
enable()
public
enable() : void
getQueries()
public
getQueries() : array
Return values
arraystartQuery()
public
startQuery(mixed $sql[, array|null $params = null ][, array|null $types = null ]) : void
Parameters
- $sql : mixed
- $params : array|null = null
- $types : array|null = null
stopQuery()
public
stopQuery() : void