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