/** * {@inheritdoc} */ protected function execute(Input $input, Output $output) { if (null === $this->command) { $this->command = $this->getConsole()->find($input->getArgument('command_name')); } $helper = new DescriptorHelper(); $helper->describe($output, $this->command, ['raw_text' => $input->getOption('raw')]); $this->command = null; }
/** * {@inheritdoc} */ protected function execute(Input $input, Output $output) { $helper = new DescriptorHelper(); $helper->describe($output, $this->getConsole(), ['raw_text' => $input->getOption('raw'), 'namespace' => $input->getArgument('namespace')]); }