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