class AbstractDumper implements DataDumperInterface, DumperInterface
Abstract mechanism for dumping a Data object.
Constants
| DUMP_LIGHT_ARRAY | |
| DUMP_STRING_LENGTH |
Properties
| static | $defaultOutput |
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. | |
| 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. |
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.
Please login to continue.