AbstractDumper
class AbstractDumper implements DataDumperInterface, DumperInterface
Abstract mechanism for dumping a Data object.
Properties
static | $defaultOutput |
Methods
__construct(callable|resource|string|null $output = null, string $charset = null)
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 38
__construct(callable|resource|string|null $output = null, string $charset = null)
at line line 56
callable|resource|string
setOutput(callable|resource|string $output)
Sets the output destination of the dumps.
at line line 81
string
setCharset(string $charset)
Sets the default character encoding to use for non-UTF8 strings.
at line line 100
string
setIndentPad(string $pad)
Sets the indentation pad string.
at line line 114
dump(Data $data, callable|resource|string|null $output = null)
Dumps a Data object.