setExitCode(int $exitCode) Sets the exit code.
bool commandShouldRun() Returns true if the command is runnable, false otherwise.
bool enableCommand() Enables the command.
InputInterface getInput()
class ConsoleCommandEvent extends
bool disableCommand() Disables the command, so it won't be run.
class ConsoleTerminateEvent extends
class ConsoleEvent extends Event
OutputInterface getOutput()
int getExitCode() Gets the exit code.
Page 1 of 2