XmlEncoder::decode()

mixed decode(string $data, string $format, array $context = array()) Decodes a string into PHP data. Parameters string $data Data to decode string $format Format name array $context options that decoders have access to The format parameter specifies which format the data is in; valid values depend on the specific implementation. Authors implementing this interface are encouraged to document which formats they support in a non-inherited phpdoc comment. Return Value mixed Excep

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

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

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::getInputDefinitionDocument()

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

XmlDescriptor::getCommandDocument()

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

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

class XmlDescriptor extends Descriptor Methods describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. from Descriptor Details describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. Parameters OutputInterface $output object $object array $options