You are here

protected function XmlDescriptor::describeCommand in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Descriptor/XmlDescriptor.php \Symfony\Component\Console\Descriptor\XmlDescriptor::describeCommand()

Describes a Command instance.

Parameters

Command $command:

array $options:

Return value

string|mixed

Overrides Descriptor::describeCommand

File

vendor/symfony/console/Descriptor/XmlDescriptor.php, line 160

Class

XmlDescriptor
XML descriptor.

Namespace

Symfony\Component\Console\Descriptor

Code

protected function describeCommand(Command $command, array $options = array()) {
  $this
    ->writeDocument($this
    ->getCommandDocument($command));
}