|
| | __construct (private int $indentation=4) |
| | dump (mixed $input, int $inline=0, int $indent=0, int $flags=0) |
Dumper dumps PHP variables to YAML strings.
- Auteur
- Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
@final
◆ __construct()
| __construct |
( |
private int | $indentation = 4 | ) |
|
- Paramètres
-
| int | $indentation | The amount of spaces to use for indentation of nested nodes |
◆ dump()
| dump |
( |
mixed | $input, |
|
|
int | $inline = 0, |
|
|
int | $indent = 0, |
|
|
int | $flags = 0 ) |
Dumps a PHP value to YAML.
- Paramètres
-
| mixed | $input | The PHP value |
| int | $inline | The level where you switch to inline YAML |
| int | $indent | The level of indentation (used internally) |
| int-mask-of<Yaml::DUMP_*> | $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string |
La documentation de cette classe a été générée à partir du fichier suivant :
- vendor/symfony/yaml/Dumper.php