Class Horde_Yaml_Dumper
Dump PHP data structures to YAML.
Methods summary
public
string
|
#
dump( array|Traversable $value, integer $options = array() )
Dump PHP array to YAML
The dump method, when supplied with an array, will do its best
to convert the array into valid YAML.
Options: indent : number of spaces to indent children (default 2) wordwrap : wordwrap column number (default 40)
Parameters
- $value
- $array PHP array or traversable object
- $options
- Options for dumping
Returns
string YAML representation of $value
|