public function describe($object, array $options = [])
{
$descriptor = new Descriptor();
$options = array_merge(['raw_text' => false], $options);
$descriptor->describe($this, $object, $options);
}
/** * {@inheritdoc} */ protected function execute(Input $input, Output $output) { if (null === $this->command) { $this->command = $this->getConsole()->find($input->getArgument('command_name')); } $output->describe($this->command, ['raw_text' => $input->getOption('raw')]); $this->command = null; }