You are here

public function ConsoleCommandEvent::enableCommand in Zircon Profile 8

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

Enables the command.

Return value

bool

File

vendor/symfony/console/Event/ConsoleCommandEvent.php, line 48

Class

ConsoleCommandEvent
Allows to do things before the command is executed, like skipping the command or changing the input.

Namespace

Symfony\Component\Console\Event

Code

public function enableCommand() {
  return $this->commandShouldRun = true;
}