Dumper

Dumper dumps PHP variables to YAML strings.

author

Fabien Potencier

Methods

Dumps a PHP value to YAML.

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

Arguments

$input

mixed

The PHP value

$inline

integer

The level where you switch to inline YAML

$indent

integer

The level of indentation (used internally)

Response

string

The YAML representation of the PHP value