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, object $object, array $options = array())

Describes an InputArgument instance.

Parameters

OutputInterface $output
object $object
array $options

DOMDocument getInputDefinitionDocument(InputDefinition $definition)

Parameters

InputDefinition $definition

Return Value

DOMDocument

DOMDocument getCommandDocument(Command $command)

Parameters

Command $command

Return Value

DOMDocument

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

Parameters

Application $application
string|null $namespace

Return Value

DOMDocument

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Console/Descriptor/XmlDescriptor.html