protected function JsonDescriptor::describeCommand in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Descriptor/JsonDescriptor.php \Symfony\Component\Console\Descriptor\JsonDescriptor::describeCommand()
Describes a Command instance.
Parameters
Command $command:
array $options:
Return value
string|mixed
Overrides Descriptor::describeCommand
File
- vendor/
symfony/ console/ Descriptor/ JsonDescriptor.php, line 56
Class
- JsonDescriptor
- JSON descriptor.
Namespace
Symfony\Component\Console\DescriptorCode
protected function describeCommand(Command $command, array $options = array()) {
$this
->writeData($this
->getCommandData($command), $options);
}