TYPO3  7.6
ConsoleCommandEvent.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
12 namespace Symfony\Component\Console\Event;
13 
20 {
24  const RETURN_CODE_DISABLED = 113;
25 
31  private $commandShouldRun = true;
32 
38  public function disableCommand()
39  {
40  return $this->commandShouldRun = false;
41  }
42 
48  public function enableCommand()
49  {
50  return $this->commandShouldRun = true;
51  }
52 
58  public function commandShouldRun()
59  {
61  }
62 }