You are here

public function HelperSet::setCommand in Zircon Profile 8

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

Sets the command associated with this helper set.

Parameters

Command $command A Command instance:

File

vendor/symfony/console/Helper/HelperSet.php, line 97

Class

HelperSet
HelperSet represents a set of helpers to be used with a command.

Namespace

Symfony\Component\Console\Helper

Code

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