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
class ConsoleEvent extends Event
OutputInterface getOutput()
int getExitCode() Gets the exit code.
Page 1 of 2