You are here

public function Command::setDescription 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::setDescription()

Sets the description for the command.

Parameters

string $description The description for the command:

Return value

Command The current instance

File

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

Class

Command
Base class for all commands.

Namespace

Symfony\Component\Console\Command

Code

public function setDescription($description) {
  $this->description = $description;
  return $this;
}