Returned by MediaWiki\Shell\Command::execute()
More...
|
| __construct (int $exitCode, string $stdout, ?string $stderr) |
|
| getExitCode () |
| Returns exit code of the process.
|
|
| getStderr () |
| Returns stderr of the process or null if the Command was configured to add stderr to stdout with includeStderr( true )
|
|
| getStdout () |
| Returns stdout of the process.
|
|
Returned by MediaWiki\Shell\Command::execute()
- Since
- 1.30
Definition at line 30 of file Result.php.
◆ __construct()
MediaWiki\Shell\Result::__construct |
( |
int |
$exitCode, |
|
|
string |
$stdout, |
|
|
?string |
$stderr |
|
) |
| |
◆ getExitCode()
MediaWiki\Shell\Result::getExitCode |
( |
| ) |
|
Returns exit code of the process.
- Returns
- int
Definition at line 56 of file Result.php.
◆ getStderr()
MediaWiki\Shell\Result::getStderr |
( |
| ) |
|
Returns stderr of the process or null if the Command was configured to add stderr to stdout with includeStderr( true )
- Returns
- string|null
Definition at line 75 of file Result.php.
◆ getStdout()
MediaWiki\Shell\Result::getStdout |
( |
| ) |
|
Returns stdout of the process.
- Returns
- string
Definition at line 65 of file Result.php.
◆ $exitCode
int MediaWiki\Shell\Result::$exitCode |
|
private |
◆ $stderr
string null MediaWiki\Shell\Result::$stderr |
|
private |
◆ $stdout
string MediaWiki\Shell\Result::$stdout |
|
private |
The documentation for this class was generated from the following file: