1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?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;
- }
- }
|