ConsoleTerminateEvent
class ConsoleTerminateEvent extends ConsoleEvent
Allows to manipulate the exit code of a command after its execution.
Properties
protected | $command | from ConsoleEvent |
Methods
__construct(Command $command, InputInterface $input, OutputInterface $output, int $exitCode)
No description
setExitCode(int $exitCode)
Sets the exit code.
int
getExitCode()
Gets the exit code.