class Debug (View source)

Static class containing most used debug methods.

Methods

static 
dump(mixed $var, integer $maxDepth = 2)

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

static 
export($var, $maxDepth)

No description

static 
toString($obj)

No description

Details

static dump(mixed $var, integer $maxDepth = 2)

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

Parameters

mixed $var
integer $maxDepth Maximum nesting level for object properties

static export($var, $maxDepth)

Parameters

$var
$maxDepth

static toString($obj)

Parameters

$obj