src/Dumper.php
/**
     * Dumps a PHP value to YAML.
     *
     * @param mixed $input  The PHP value
     *
     * @param int $inline The level where you switch to inline YAML
     *
     * @param int $indent The level of indentation (used internally)
     *
     * @param int $flags  A bit field of Symfony\Component\Yaml\Yaml::DUMP_*
     *     constants to customize the dumped YAML string
     *
     * @return string The YAML representation of the PHP value
     */
Dumps a PHP value to YAML.
@param mixed $input  The PHP value

@param int $inline The level where you switch to inline YAML

@param int $indent The level of indentation (used internally)

@param int $flags  A bit field of Symfony\Component\Yaml\Yaml::DUMP_
constants to customize the dumped YAML string

@return string The YAML representation of the PHP value
Dumps a PHP value to YAML . @param mixed $input The PHP value @param int $inline The level where you switch to inline YAML @param int $indent The level of indentation ( used internally ) @param int $flags A bit field of Symfony \ Component \ Yaml \ Yaml :: DUMP_ constants to customize the dumped YAML string @return string The YAML representation of the PHP value
public function dump($input, $inline = 0, $indent = 0, $flags = 0)
    {
        $yaml = $this->_dumper->dump($this->preProcess($input), $inline, $indent, $flags);
        return $this->postProcess($yaml);
    }
public function dump ( $ input , $ inline = 0 , $ indent = 0 , $ flags = 0 ) { $ yaml = $ this -> _dumper -> dump ( $ this -> preProcess ( $ input ) , $ inline , $ indent , $ flags ) ; return $ this -> postProcess ( $ yaml ) ; }
Dumps a PHP value to YAML.
Dumps a PHP value to YAML .