XmlDumper::phpToXml()

static string phpToXml(mixed $value) Converts php types to xml types. Parameters mixed $value Value to convert Return Value string Exceptions RuntimeException When trying to dump object or resource

XmlDumper::dump()

string dump(array $options = array()) Dumps the service container as an XML string. Parameters array $options An array of options Return Value string The representation of the service container

XmlEncoder

class XmlEncoder extends SerializerAwareEncoder implements EncoderInterface, DecoderInterface, NormalizationAwareInterface Encodes XML data. Methods setSerializer(SerializerInterface $serializer) Sets the owning Serializer object. from SerializerAwareEncoder __construct(string $rootNodeName = 'response', int|null $loadOptions = null) Construct new XmlEncoder and allow to change the root node element name. scalar encode(mixed $data, string $format, array $context = array()) Encod

XmlEncoder::encode()

scalar encode(mixed $data, string $format, array $context = array()) Encodes data into the given format. Parameters mixed $data Data to encode string $format Format name array $context options that normalizers/encoders have access to Return Value scalar Exceptions UnexpectedValueException

XmlDescriptor::getCommandDocument()

DOMDocument getCommandDocument(Command $command) Parameters Command $command Return Value DOMDocument

XmlDumper

class XmlDumper extends Dumper XmlDumper dumps a service container as an XML string. Methods __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. Details __construct(ContainerBuilder $container) Parameters ContainerBuilder $container The service container to dump

XmlDescriptor::getApplicationDocument()

DOMDocument getApplicationDocument(Application $application, string|null $namespace = null) Parameters Application $application string|null $namespace Return Value DOMDocument

XmlDescriptor

class XmlDescriptor extends Descriptor XML descriptor. Methods describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. from Descriptor DOMDocument getInputDefinitionDocument(InputDefinition $definition) DOMDocument getCommandDocument(Command $command) DOMDocument getApplicationDocument(Application $application, string|null $namespace = null) Details describe(OutputInterface $output,

XmlDescriptor::getInputDefinitionDocument()

DOMDocument getInputDefinitionDocument(InputDefinition $definition) Parameters InputDefinition $definition Return Value DOMDocument

XliffFileLoader

class XliffFileLoader implements LoaderInterface XliffFileLoader loads translations from XLIFF files. Methods MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Details MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Parameters mixed $resource A resource string $locale A locale string $domain The domain Return Value MessageCatalogue A MessageC