You are here

public function HelpCommand::setCommand in Zircon Profile 8

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

Sets the command.

Parameters

Command $command The command to set:

File

vendor/symfony/console/Command/HelpCommand.php, line 65

Class

HelpCommand
HelpCommand displays the help for a given command.

Namespace

Symfony\Component\Console\Command

Code

public function setCommand(Command $command) {
  $this->command = $command;
}