TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
vendor
symfony
console
Event
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
19
class
ConsoleCommandEvent
extends
ConsoleEvent
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
{
60
return
$this->commandShouldRun
;
61
}
62
}
Generated on Wed Nov 11 2015 01:51:52 for TYPO3 by
1.8.3