AbstractDumper
class AbstractDumper implements DataDumperInterface, DumperInterface
Abstract mechanism for dumping a Data object.
Constants
DUMP_LIGHT_ARRAY |
|
DUMP_STRING_LENGTH |
|
DUMP_COMMA_SEPARATOR |
|
DUMP_TRAILING_COMMA |
|
Properties
static | $defaultOutput |
Methods
__construct(callable|resource|string|null $output = null, string $charset = null, int $flags)
No description
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.
Details
at line line 45
__construct(callable|resource|string|null $output = null, string $charset = null, int $flags)
at line line 64
callable|resource|string
setOutput(callable|resource|string $output)
Sets the output destination of the dumps.
at line line 89
string
setCharset(string $charset)
Sets the default character encoding to use for non-UTF8 strings.
at line line 108
string
setIndentPad(string $pad)
Sets the indentation pad string.
at line line 124
dump(Data $data, callable|resource|string|true|null $output = null)
Dumps a Data object.