XmlDumper dumps a service container as an XML string.
- author Fabien Potencier
- author Martin Hasoň
CloneableInstantiable
| Methods |
| public dump(array $options = []) : string Dumps the service container as an XML string. |
| public static phpToXml(?mixed $value) : string Converts php types to xml types.
|
| Properties |
| Properties |
| private DOMDocument $document |
| Methods |
| private addMethodCalls(array $methodcalls, DOMElement $parent) : void |
| private addParameters(DOMElement $parent) : void |
| private addService(Symfony |
| private addServiceAlias(string $alias, Symfony |
| private addServices(DOMElement $parent) : void |
| private addTagRecursiveAttributes(DOMElement $parent, array $attributes) : void |
| private convertParameters(array $parameters, string $type, DOMElement $parent, string $keyAttribute = 'key') : void |
| private escape(array $arguments) : array Escapes arguments. |
| Methods |
| public static phpToXml(?mixed $value) : string Converts php types to xml types.
|