Zend\Debug\Debug::dump
Debug helper function. This is a wrapper for var_dump() that adds the <pre /> tags, cleans up newlines and indents, and runs htmlentities() before output.
Signature
public function dump(mixed
$var,
[string
$label = null,
[bool
$echo = true]] )
Parameters
$var
— mixed- The variable to dump.
$label
— string- OPTIONAL Label to prepend to output.
$echo
— object- OPTIONAL Echo output if true.
Returns
- string