class XmlDumper extends Dumper
XmlDumper dumps a service container as an XML string.
protected | $container | from Dumper |
__construct(ContainerBuilder $container) | from Dumper | |
string | dump(array $options = array()) Dumps the service container as an XML string. | |
static string | phpToXml(mixed $value) Converts php types to xml types. |
ContainerBuilder | $container |
Dumps the service container as an XML string.
array | $options | An array of options |
string | The representation of the service container |
Converts php types to xml types.
mixed | $value | Value to convert |
string |
RuntimeException | When trying to dump object or resource |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Dumper/XmlDumper.html