describe() public method

public describe ( $object, array $options = [] )
$options array
コード例 #1
0
ファイル: Help.php プロジェクト: top-think/framework
 /**
  * {@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;
 }
コード例 #2
0
ファイル: Lists.php プロジェクト: top-think/framework
 /**
  * {@inheritdoc}
  */
 protected function execute(Input $input, Output $output)
 {
     $output->describe($this->getConsole(), ['raw_text' => $input->getOption('raw'), 'namespace' => $input->getArgument('namespace')]);
 }