Dumper
Dumper
class Dumper
Dumper dumps PHP variables to YAML strings.
Methods
setIndentation(int $num) Sets the indentation. | ||
string | dump(mixed $input, int $inline, int $indent, bool $exceptionOnInvalidType = false, bool $objectSupport = false) Dumps a PHP value to YAML. |
Details
setIndentation(int $num)
Sets the indentation.
Parameters
int | $num | The amount of spaces to use for indentation of nested nodes |