You are here

constant ConsoleEvents::COMMAND in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/ConsoleEvents.php \Symfony\Component\Console\ConsoleEvents::COMMAND

The COMMAND event allows you to attach listeners before any command is executed by the console. It also allows you to modify the command, input and output before they are handled to the command.

The event listener method receives a Symfony\Component\Console\Event\ConsoleCommandEvent instance.

Related topics

File

vendor/symfony/console/ConsoleEvents.php, line 33

Class

ConsoleEvents
Contains all events dispatched by an Application.

Namespace

Symfony\Component\Console

Code

const COMMAND = 'console.command';