You are here

public function Command::setHelp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Command/Command.php \Symfony\Component\Console\Command\Command::setHelp()

Sets the help for the command.

Parameters

string $help The help for the command:

Return value

Command The current instance

File

vendor/symfony/console/Command/Command.php, line 477

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

public function setHelp($help) {
  $this->help = $help;
  return $this;
}