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