public function DrushHelpCommand::setCommand

8.0.x DrushHelpCommand.php public DrushHelpCommand::setCommand(Command $command)
master DrushHelpCommand.php public DrushHelpCommand::setCommand(Command $command)

Helper for setting a subcommand to retrieve help for.

Parameters

\Symfony\Component\Console\Command\Command $command:

File

lib/Drush/Psysh/DrushHelpCommand.php, line 56
Contains \Drush\Psysh\DrushCommand.

Namespace

Drush\Psysh

Class

DrushHelpCommand
Help command.

Code

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