Zend\Debug\Debug
Concrete class for generating debug dumps related to the output source.
Synopsis
class Debug
{
- // methods
- public static string; getSapi()
- public static void; setSapi()
- public static void setEscaper()
- public static Escaper getEscaper()
- public static string dump()
Members
protected
- $escaper — Zend\Escaper\Escaper
- $sapi — string
Methods
public
- 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.
- getEscaper() — Get Escaper instance
- getSapi() — Get the current value of the debug output environment.
- setEscaper() — Set Escaper instance
- setSapi() — Set the debug output environment.