class AfterExecute

Dispatched inside the command execution boundary after execution completes.

Always fires regardless of success or failure. When the command threw an exception, the throwable is available for inspection. Unlike CommandFinished, this event fires within the command's execution boundary. Commands may disable coroutine execution, so listeners must check before using coroutine-only APIs.

Methods

__construct(Command $command, Throwable|null $throwable, InputInterface $input, int $exitCode)

No description

Details

at line 21
__construct(Command $command, Throwable|null $throwable, InputInterface $input, int $exitCode)

No description

Parameters

Command $command
Throwable|null $throwable
InputInterface $input
int $exitCode