YamlDumper

class YamlDumper extends Dumper

YamlDumper dumps a service container as a YAML string.

Methods

__construct(ContainerBuilder $container) from Dumper
string dump(array $options = array())

Dumps the service container as an YAML string.

Details

__construct(ContainerBuilder $container)

Parameters

ContainerBuilder $container The service container to dump

string dump(array $options = array())

Dumps the service container as an YAML string.

Parameters

array $options An array of options

Return Value

string The representation of the service container
doc_Symfony
2016-10-28 06:37:26
Comments
Leave a Comment

Please login to continue.