DoctrineSqlLogger

class \TYPO3\CMS\Adminpanel\Log\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 = []

Methods

getQueries()

public getQueries() : array

Return values

array

startQuery()

public startQuery(mixed $sql[, array|null $params = null ][, array|null $types = null ]) : void

Parameters

$sql : mixed
$params : array|null = null
$types : array|null = null
On this page