Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe ConsoleEvents

Champs de données

const COMMAND = 'console.command'
 
const SIGNAL = 'console.signal'
 
const TERMINATE = 'console.terminate'
 
const ERROR = 'console.error'
 
const ALIASES
 

Description détaillée

Contains all events dispatched by an Application.

Auteur
Francesco Levorato git@f.nosp@m.levo.nosp@m.ur.ne.nosp@m.t

Documentation des champs

◆ ALIASES

const ALIASES
Valeur initiale :
= [
ConsoleCommandEvent::class => self::COMMAND

Event aliases.

These aliases can be consumed by RegisterListenersPass.

◆ COMMAND

const COMMAND = 'console.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 handed to the command.

("Symfony\Component\Console\Event\ConsoleCommandEvent")

Référencé par Application\doRunCommand().

◆ ERROR

const ERROR = 'console.error'

The ERROR event occurs when an uncaught exception or error appears.

This event allows you to deal with the exception/error or to modify the thrown exception.

("Symfony\Component\Console\Event\ConsoleErrorEvent")

Référencé par Application\doRun(), Application\doRunCommand(), et ErrorListener\getSubscribedEvents().

◆ SIGNAL

const SIGNAL = 'console.signal'

The SIGNAL event allows you to perform some actions after the command execution was interrupted.

("Symfony\Component\Console\Event\ConsoleSignalEvent")

Référencé par Application\doRunCommand().

◆ TERMINATE

const TERMINATE = 'console.terminate'

The TERMINATE event allows you to attach listeners after a command is executed by the console.

("Symfony\Component\Console\Event\ConsoleTerminateEvent")

Référencé par Application\doRunCommand(), et ErrorListener\getSubscribedEvents().


La documentation de cette classe a été générée à partir du fichier suivant :