Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (int $exitCode, Application $application, ?AbstractCommand $command=null) | |
getExitCode () | |
setExitCode (int $exitCode) | |
Fonctions membres publiques hérités de ConsoleEvent | |
__construct (string $name, Application $application, ?AbstractCommand $command=null) | |
getApplication () | |
getCommand () | |
Fonctions membres publiques hérités de Event | |
addArgument ($name, $value) | |
setArgument ($name, $value) | |
removeArgument ($name) | |
clearArguments () | |
stop () | |
offsetSet ($name, $value) | |
offsetUnset ($name) | |
Fonctions membres publiques hérités de AbstractEvent | |
__construct ($name, array $arguments=[]) | |
getName () | |
getArgument ($name, $default=null) | |
hasArgument ($name) | |
getArguments () | |
isStopped () | |
stopPropagation () | |
count () | |
serialize () | |
__serialize () | |
unserialize ($serialized) | |
__unserialize (array $data) | |
offsetExists ($name) | |
offsetGet ($name) | |
Attributs privés | |
$exitCode | |
Membres hérités additionnels | |
Attributs protégés hérités de AbstractEvent | |
$name | |
$arguments | |
$stopped = false | |
Event triggered immediately before the process is terminated.
__construct | ( | int | $exitCode, |
Application | $application, | ||
?AbstractCommand | $command = null |
||
) |
Event constructor.
integer | $exitCode | The Throwable object with the error data. |
Application | $application | The active application. |
AbstractCommand | null | $command | The command being executed. |
Références ConsoleEvent\$application, ConsoleEvent\$command, TerminateEvent\$exitCode, Symfony\Contracts\Service\__construct(), et ConsoleEvents\TERMINATE.
getExitCode | ( | ) |
setExitCode | ( | int | $exitCode | ) |
Sets the exit code.
integer | $exitCode | The command exit code. |
Références TerminateEvent\$exitCode.
|
private |
Référencé par TerminateEvent\__construct(), TerminateEvent\getExitCode(), et TerminateEvent\setExitCode().