12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- namespace Symfony\Component\Console\Event;
- class ConsoleCommandEvent extends ConsoleEvent
- {
-
- const RETURN_CODE_DISABLED = 113;
-
- private $commandShouldRun = true;
-
- public function disableCommand()
- {
- return $this->commandShouldRun = false;
- }
-
- public function enableCommand()
- {
- return $this->commandShouldRun = true;
- }
-
- public function commandShouldRun()
- {
- return $this->commandShouldRun;
- }
- }
|