DoctrineSQLLogger
in package
implements
SQLLogger
Tags
Table of Contents
Interfaces
- SQLLogger
Properties
- $lastLog : string
- Holder for the last executed SQL statement
Methods
- startQuery() : void
- {@inheritdoc}
- stopQuery() : void
- {@inheritdoc}
Properties
$lastLog
Holder for the last executed SQL statement
protected
string
$lastLog
= ''
Gets set by DoctrineSQLLogger::startQuery() and will again be used by DoctrineSQLLogger::startQuery() to log the last statement if a transaction is being rolled back.
Methods
startQuery()
{@inheritdoc}
public
startQuery(mixed $sql[, array<string|int, mixed> $params = null ][, array<string|int, mixed> $types = null ]) : void
Parameters
- $sql : mixed
- $params : array<string|int, mixed> = null
- $types : array<string|int, mixed> = null
stopQuery()
{@inheritdoc}
public
stopQuery() : void