class HtmlDumper extends CliDumper
HtmlDumper dumps variables as HTML.
static | $defaultOutput | |
static | $defaultColors |
__construct(callable|resource|string|null $output = null, string $charset = null) | ||
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. | 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. |
Sets the output destination of the dumps.
Sets the default character encoding to use for non-UTF8 strings.
Sets the indentation pad string.
Dumps a Data object.
Enables/disables colored output.
Sets the maximum number of characters per line for dumped strings.
Configures styles.
Dumps a scalar value.
Dumps a string.
Dumps while entering an hash.
Dumps while leaving an hash.
Sets an HTML header that will be dumped once in the output stream.
Sets an HTML prefix and suffix that will encapse every single dump.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/VarDumper/Dumper/HtmlDumper.html