class Dumper
Dumper dumps PHP variables to YAML strings.
protected int | $indentation | The amount of spaces to use for indentation of nested nodes. |
__construct(int $indentation = 4) | ||
string | dump(mixed $input, int $inline = 0, int $indent = 0, int $flags = 0) Dumps a PHP value to YAML. |
int | $indentation |
Dumps a PHP value to YAML.
mixed | $input | The PHP value |
int | $inline | The level where you switch to inline YAML |
int | $indent | The level of indentation (used internally) |
int | $flags | A bit field of Yaml::DUMP_* constants to customize the dumped YAML string |
string | The YAML representation of the PHP value |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Yaml/Dumper.html