class YamlDumper extends Dumper

YamlDumper dumps a service container as a YAML string.

Properties

protected $container from Dumper

Methods

__construct(ContainerBuilder $container)

No description

from Dumper
string
dump(array $options = [])

Dumps the service container as an YAML string.

Details

in Dumper at line 25
__construct(ContainerBuilder $container)

Parameters

ContainerBuilder $container

at line 46
string dump(array $options = [])

Dumps the service container as an YAML string.

Parameters

array $options An array of options

Return Value

string The representation of the service container