Doctrine


Doctrine\Common\Util\Debug
/Doctrine/Common/Util/Debug.php at line 36

Class Debug

Debug

public final class Debug

Static class containing most used debug methods.

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

Constructor Summary

Debug()

Private constructor (prevents from instantiation)

Method Summary
static void

dump(mixed var, integer maxDepth)

Prints a dump of the public, protected and private properties of $var.

static void

export(mixed var, mixed maxDepth)

Constructor Detail

/Doctrine/Common/Util/Debug.php at line 42

Debug

public Debug()

Private constructor (prevents from instantiation)


Method Detail

/Doctrine/Common/Util/Debug.php at line 52

dump

public static void dump(mixed var, integer maxDepth)

Prints a dump of the public, protected and private properties of $var.

See Also:
http://xdebug.org/
Parameters:
maxDepth - Maximum nesting level for object properties

/Doctrine/Common/Util/Debug.php at line 72

export

public static void export(mixed var, mixed maxDepth)

Doctrine