Doctrine


Doctrine\DBAL\Logging\DebugStack
/Doctrine/DBAL/Logging/DebugStack.php at line 36

Class DebugStack

DebugStack

public class DebugStack

Includes executed SQLs in a Debug Stack

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
2.0
Version:
$Revision$
Author:
Benjamin Eberlei
Guilherme Blanco
Jonathan Wage
Roman Borschel

Field Summary
mixed

$enabled

@var boolean $enabled If Debug Stack is enabled (log queries) or not.

mixed

$queries

@var array $queries Executed SQL queries.

Method Summary
void

logSQL(mixed sql, mixed params)

{@inheritdoc}

Field Detail

/Doctrine/DBAL/Logging/DebugStack.php at line 42

enabled

public mixed $enabled = true

boolean $enabled If Debug Stack is enabled (log queries) or not.


/Doctrine/DBAL/Logging/DebugStack.php at line 39

queries

public mixed $queries = array()

array $queries Executed SQL queries.


Method Detail

/Doctrine/DBAL/Logging/DebugStack.php at line 47

logSQL

public void logSQL(mixed sql, mixed params)


Doctrine