class Dumper (View source)

Static class used to dump the variable to be used on output.

Simplified port of Util\Debug from doctrine/common.

Methods

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

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

static mixed
export($var, int $maxDepth)

No description

Details

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

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

Parameters

mixed $var The variable to dump.
int $maxDepth The maximum nesting level for object properties.

static mixed export($var, int $maxDepth)

Parameters

$var
int $maxDepth

Return Value

mixed