MediaWiki REL1_35
|
Factory facilitating dependency injection for Command. More...
Public Member Functions | |
__construct (array $limits, $cgroup, $restrictionMethod) | |
create () | |
Instantiates a new Command. | |
logStderr (bool $yesno=true) | |
When enabled, text sent to stderr will be logged with a level of 'error'. | |
Protected Member Functions | |
findFirejail () | |
Private Attributes | |
string bool | $cgroup |
bool | $doLogStderr = false |
string bool | $firejail |
array | $limits |
string bool | $restrictionMethod |
Factory facilitating dependency injection for Command.
Definition at line 32 of file CommandFactory.php.
MediaWiki\Shell\CommandFactory::__construct | ( | array | $limits, |
$cgroup, | |||
$restrictionMethod | |||
) |
array | $limits | See { |
string | bool | $cgroup | See { |
string | bool | $restrictionMethod |
Definition at line 59 of file CommandFactory.php.
References MediaWiki\Shell\CommandFactory\$cgroup, MediaWiki\Shell\CommandFactory\$limits, MediaWiki\Shell\CommandFactory\$restrictionMethod, and MediaWiki\Shell\CommandFactory\findFirejail().
MediaWiki\Shell\CommandFactory::create | ( | ) |
Instantiates a new Command.
Definition at line 99 of file CommandFactory.php.
References $command.
|
protected |
Definition at line 75 of file CommandFactory.php.
References ExecutableFinder\findInDefaultPaths().
Referenced by MediaWiki\Shell\CommandFactory\__construct().
MediaWiki\Shell\CommandFactory::logStderr | ( | bool | $yesno = true | ) |
When enabled, text sent to stderr will be logged with a level of 'error'.
bool | $yesno |
Definition at line 90 of file CommandFactory.php.
|
private |
Definition at line 39 of file CommandFactory.php.
Referenced by MediaWiki\Shell\CommandFactory\__construct().
|
private |
Definition at line 42 of file CommandFactory.php.
|
private |
Definition at line 52 of file CommandFactory.php.
|
private |
Definition at line 36 of file CommandFactory.php.
Referenced by MediaWiki\Shell\CommandFactory\__construct().
|
private |
Definition at line 47 of file CommandFactory.php.
Referenced by MediaWiki\Shell\CommandFactory\__construct().