symfony API

sfYamlDumper Class

« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfYamlDumper class.

Method Summary

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

Method Details

  • (string) dump ($input, $inline, $indent) Browse code

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

    Dumps a PHP value to YAML.

    returns The YAML representation of the PHP value

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.