getHelp() public method

Returns the help for the command.
public getHelp ( ) : string
return string The help for the command
 /**
  * {@inheritDoc}
  */
 protected function configure()
 {
     if ($this->isVersionCompatible()) {
         $this->command = $this->createCommand();
         $this->setHelp($this->command->getHelp());
         $this->setDefinition($this->command->getDefinition());
         $this->setDescription($this->command->getDescription());
     }
     $this->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command');
 }
 /**
  * {@inheritdoc}
  */
 public function getHelp()
 {
     return $this->decoratedCommand->getHelp();
 }
Example #3
0
 public function getHelp()
 {
     return $this->innerCommand->getHelp();
 }