Copied!

XmlDumper dumps a service container as an XML string.

CloneableInstantiable
Methods
public Symfony\Component\DependencyInjection\Dumper\Dumper::__construct(Symfony\Component\DependencyInjection\ContainerBuilder $container)
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.

  • throws \RuntimeException When trying to dump object or resource
Properties
protected Symfony\Component\DependencyInjection\ContainerBuilder Symfony\Component\DependencyInjection\Dumper\Dumper::$container
Methods
private addMethodCalls(array $methodcalls) : iterable
private addParameters() : iterable
private addService(Symfony\Component\DependencyInjection\Definition $definition, ?string $id) : iterable
private addServiceAlias(string $alias, Symfony\Component\DependencyInjection\Alias $id) : iterable
private addServices() : iterable
private addTagRecursiveAttributes(array $attributes) : iterable
private convertParameters(array $parameters, string $type, string $keyAttribute = 'key') : iterable
private encode(string $value, int $flags = 2ENT_COMPAT) : string
private escape(array $arguments) : array
Methods
public static phpToXml(?mixed $value) : string
 

Converts php types to xml types.

  • throws \RuntimeException When trying to dump object or resource
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration