Symfony\Component\Yaml\Dumper
Dumper dumps PHP variables to YAML strings.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class Dumper
{
- // members
- protected integer $indentation;
- // methods
- public void setIndentation()
- public string dump()
Members
protected
- $indentation
—
integer
The amount of spaces to use for indentation of nested nodes.
Methods
public
- dump() — Dumps a PHP value to YAML.
- setIndentation() — Sets the indentation.