symfony API

sfYamlDumper Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.3 version. Switch to:

sfYamlDumper dumps PHP variables to YAML strings.

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