Propel API
Class

sfYamlDumper

class sfYamlDumper

sfYamlDumper dumps PHP variables to YAML strings.

Methods

string dump(mixed $input, integer $inline, integer $indent)

Dumps a PHP value to YAML.

Details

at line 32
public string dump(mixed $input, integer $inline, integer $indent)

Dumps a PHP value to YAML.

Parameters

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

Return Value

string The YAML representation of the PHP value