class HtmlDumper extends CliDumper
HtmlDumper dumps variables as HTML.
Constants
DUMP_LIGHT_ARRAY | |
DUMP_STRING_LENGTH |
Properties
static | $defaultOutput | ||
static | $defaultColors | from CliDumper |
Methods
__construct(callable|resource|string|null $output = null, string $charset = null, int $flags) | ||
callable|resource|string | setOutput(callable|resource|string $output) Sets the output destination of the dumps. | from AbstractDumper |
string | setCharset(string $charset) Sets the default character encoding to use for non-UTF8 strings. | from AbstractDumper |
string | setIndentPad(string $pad) Sets the indentation pad string. | from AbstractDumper |
dump(Data $data, callable|resource|string|null $output = null) Dumps a Data object. | ||
setColors(bool $colors) Enables/disables colored output. | from CliDumper | |
setMaxStringWidth(int $maxStringWidth) Sets the maximum number of characters per line for dumped strings. | from CliDumper | |
setStyles(array $styles) Configures styles. | ||
dumpScalar(Cursor $cursor, string $type, scalar $value) Dumps a scalar value. | from CliDumper | |
dumpString(Cursor $cursor, string $str, bool $bin, int $cut) Dumps a string. | from CliDumper | |
enterHash(Cursor $cursor, int $type, string $class, bool $hasChild) Dumps while entering an hash. | ||
leaveHash(Cursor $cursor, int $type, string $class, bool $hasChild, int $cut) Dumps while leaving an hash. | ||
setDumpHeader(string $header) Sets an HTML header that will be dumped once in the output stream. | ||
setDumpBoundaries(string $prefix, string $suffix) Sets an HTML prefix and suffix that will encapse every single dump. |
Details
__construct(callable|resource|string|null $output = null, string $charset = null, int $flags)
callable|resource|string setOutput(callable|resource|string $output)
Sets the output destination of the dumps.
string setCharset(string $charset)
Sets the default character encoding to use for non-UTF8 strings.
string setIndentPad(string $pad)
Sets the indentation pad string.
dump(Data $data, callable|resource|string|null $output = null)
Dumps a Data object.
setColors(bool $colors)
Enables/disables colored output.
setMaxStringWidth(int $maxStringWidth)
Sets the maximum number of characters per line for dumped strings.
setStyles(array $styles)
Configures styles.
dumpScalar(Cursor $cursor, string $type, scalar $value)
Dumps a scalar value.
dumpString(Cursor $cursor, string $str, bool $bin, int $cut)
Dumps a string.
enterHash(Cursor $cursor, int $type, string $class, bool $hasChild)
Dumps while entering an hash.
leaveHash(Cursor $cursor, int $type, string $class, bool $hasChild, int $cut)
Dumps while leaving an hash.
setDumpHeader(string $header)
Sets an HTML header that will be dumped once in the output stream.
setDumpBoundaries(string $prefix, string $suffix)
Sets an HTML prefix and suffix that will encapse every single dump.
Please login to continue.