|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Dumper dumps PHP variables to YAML strings. More...
Collaboration diagram for Symfony\Component\Yaml\Dumper:Public Member Functions | |
| __construct ($indentation=4) | |
| setIndentation ($num) | |
| Sets the indentation. More... | |
| dump ($input, $inline=0, $indent=0, $flags=0) | |
| Dumps a PHP value to YAML. More... | |
Protected Attributes | |
| $indentation | |
Dumper dumps PHP variables to YAML strings.
Definition at line 19 of file Dumper.php.
| Symfony\Component\Yaml\Dumper::__construct | ( | $indentation = 4 | ) |
| int | $indentation |
Definition at line 31 of file Dumper.php.
References Symfony\Component\Yaml\Dumper\$indentation.
| Symfony\Component\Yaml\Dumper::dump | ( | $input, | |
$inline = 0, |
|||
$indent = 0, |
|||
$flags = 0 |
|||
| ) |
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 |
Definition at line 62 of file Dumper.php.
References $input, $key, Sabre\VObject\$output, $row, Symfony\Component\Yaml\Dumper\dump(), Symfony\Component\Yaml\Inline\dump(), Symfony\Component\Yaml\Yaml\DUMP_EXCEPTION_ON_INVALID_TYPE, Symfony\Component\Yaml\Yaml\DUMP_MULTI_LINE_LITERAL_BLOCK, Symfony\Component\Yaml\Yaml\DUMP_OBJECT, and Symfony\Component\Yaml\Inline\isHash().
Referenced by Symfony\Component\Yaml\Dumper\dump().
Here is the call graph for this function:
Here is the caller graph for this function:| Symfony\Component\Yaml\Dumper::setIndentation | ( | $num | ) |
Sets the indentation.
| int | $num | The amount of spaces to use for indentation of nested nodes |
Definition at line 45 of file Dumper.php.
|
protected |
Definition at line 26 of file Dumper.php.
Referenced by Symfony\Component\Yaml\Dumper\__construct().