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()
bool disableCommand() Disables the command, so it won't be run.
class ConsoleCommandEvent extends
class ConsoleTerminateEvent extends
int getExitCode() Gets the exit code.
class ConsoleEvent extends Event
OutputInterface getOutput()
Page 1 of 2