class XmlDescriptor extends Descriptor

XML descriptor.

Properties

protected OutputInterface $output from Descriptor

Methods

describe(OutputInterface $output, object $object, array $options = [])

Describes an object if supported.

write(string $content, bool $decorated = false)

Writes content to output.

string|mixed
describeInputArgument(InputArgument $argument, array $options = [])

Describes an InputArgument instance.

string|mixed
describeInputOption(InputOption $option, array $options = [])

Describes an InputOption instance.

string|mixed
describeInputDefinition(InputDefinition $definition, array $options = [])

Describes an InputDefinition instance.

string|mixed
describeCommand(Command $command, array $options = [])

Describes a Command instance.

string|mixed
describeApplication(Application $application, array $options = [])

Describes an Application instance.

getCommandDocument(Command $command)

No description

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

No description

Details

in Descriptor at line 37
describe(OutputInterface $output, object $object, array $options = [])

Describes an object if supported.

Parameters

OutputInterface $output
object $object
array $options

in Descriptor at line 68
protected write(string $content, bool $decorated = false)

Writes content to output.

Parameters

string $content
bool $decorated

at line 133
protected string|mixed describeInputArgument(InputArgument $argument, array $options = [])

Describes an InputArgument instance.

Parameters

InputArgument $argument
array $options

Return Value

string|mixed

at line 141
protected string|mixed describeInputOption(InputOption $option, array $options = [])

Describes an InputOption instance.

Parameters

InputOption $option
array $options

Return Value

string|mixed

at line 149
protected string|mixed describeInputDefinition(InputDefinition $definition, array $options = [])

Describes an InputDefinition instance.

Parameters

InputDefinition $definition
array $options

Return Value

string|mixed

at line 157
protected string|mixed describeCommand(Command $command, array $options = [])

Describes a Command instance.

Parameters

Command $command
array $options

Return Value

string|mixed

at line 165
protected string|mixed describeApplication(Application $application, array $options = [])

Describes an Application instance.

Parameters

Application $application
array $options

Return Value

string|mixed

at line 32
DOMDocument getInputDefinitionDocument(InputDefinition $definition)

Parameters

InputDefinition $definition

Return Value

DOMDocument

at line 53
DOMDocument getCommandDocument(Command $command)

Parameters

Command $command

Return Value

DOMDocument

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

Parameters

Application $application
string|null $namespace

Return Value

DOMDocument