You are here

public function ConsoleEvent::getCommand in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Event/ConsoleEvent.php \Symfony\Component\Console\Event\ConsoleEvent::getCommand()

Gets the command that is executed.

Return value

Command A Command instance

File

vendor/symfony/console/Event/ConsoleEvent.php, line 43

Class

ConsoleEvent
Allows to inspect input and output of a command.

Namespace

Symfony\Component\Console\Event

Code

public function getCommand() {
  return $this->command;
}