Method | Description | |
---|---|---|
dump ( mixed $var, integer $maxDepth = 2, boolean $stripTags = true, boolean $echo = true ) : string | Prints a dump of the public, protected and private properties of $var. | |
export ( mixed $var, integer $maxDepth ) : mixed | ||
toString ( object $obj ) : string | Returns a string representation of an object. |
Method | Description | |
---|---|---|
__construct ( ) | Private constructor (prevents instantiation). | |
fillReturnWithClassAttributes ( object $var, stdClass $return, integer $maxDepth ) : mixed | Fill the $return variable with class attributes |
public static dump ( mixed $var, integer $maxDepth = 2, boolean $stripTags = true, boolean $echo = true ) : string | ||
$var | mixed | The variable to dump. |
$maxDepth | integer | The maximum nesting level for object properties. |
$stripTags | boolean | Whether output should strip HTML tags. |
$echo | boolean | Send the dumped value to the output buffer |
return | string |