ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Dumper dumps PHP variables to YAML strings. More...
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 $output, $row, 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().
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().