a SENSIOLABS Product
Symfony

YAML
A PHP library that speaks YAML

sfYamlDumper Class

All Classes

  • sfYaml: sfYaml offers convenience methods to load and dump YAML.
  • sfYamlDumper: sfYamlDumper dumps PHP variables to YAML strings.
  • sfYamlInline: sfYamlInline implements a YAML parser/dumper for the YAML inline syntax.
  • sfYamlParser: sfYamlParser parses YAML strings to convert them to PHP arrays.

RELEASE INFORMATION

You are currently browsing the API for the trunk version.
sfYamlDumper dumps PHP variables to YAML strings.

METHODS
dump()  dumps a PHP value to YAML.
  • (string) dump($input, $inline, $indent)

    Dumps a PHP value to YAML.

    ARGUMENTS
    $input The PHP value
    $inline The level where you switch to inline YAML
    $indent The level o indentation indentation (used internally)

    returns The YAML representation of the PHP value

powered by symfony - "symfony" is a trademark of Fabien Potencier, all rights reserved - The components "animals" are © 2009 Sensio Labs

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.