Dumper (Component\Yaml)
Symfony\Component\Yaml\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
public setIndentation(int $num)
Sets the indentation.
public string dump(mixed $input, int $inline, int $indent, bool $exceptionOnInvalidType = false, bool $objectSupport = false)
Dumps a PHP value to YAML.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Yaml/Dumper.html