Dumper\AbstractDumper (Component\VarDumper)
Symfony\Component\VarDumper\Dumper\AbstractDumper
abstract 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) | ||
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
public __construct(callable|resource|string|null $output = null, string $charset = null)
public callable|resource|string setOutput(callable|resource|string $output)
Sets the output destination of the dumps.
public string setCharset(string $charset)
Sets the default character encoding to use for non-UTF8 strings.
public string setIndentPad(string $pad)
Sets the indentation pad string.
public dump(Data $data, callable|resource|string|null $output = null)
Dumps a Data object.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/VarDumper/Dumper/AbstractDumper.html