MediaWiki
master
|
Returned by MediaWiki\Shell\Command::execute() More...
Public Member Functions | |
__construct (int $exitCode, string $stdout, ?string $stderr) | |
getExitCode () | |
Returns exit code of the process. More... | |
getStderr () | |
Returns stderr of the process or null if the Command was configured to add stderr to stdout with includeStderr( true ) More... | |
getStdout () | |
Returns stdout of the process. More... | |
Private Attributes | |
int | $exitCode |
string null | $stderr |
string | $stdout |
MediaWiki\Shell\Result::__construct | ( | int | $exitCode, |
string | $stdout, | ||
?string | $stderr | ||
) |
int | $exitCode | |
string | $stdout | |
string | null | $stderr |
Definition at line 45 of file Result.php.
References MediaWiki\Shell\Result\$exitCode, MediaWiki\Shell\Result\$stderr, and MediaWiki\Shell\Result\$stdout.
MediaWiki\Shell\Result::getExitCode | ( | ) |
Returns exit code of the process.
Definition at line 56 of file Result.php.
References MediaWiki\Shell\Result\$exitCode.
MediaWiki\Shell\Result::getStderr | ( | ) |
Returns stderr of the process or null if the Command was configured to add stderr to stdout with includeStderr( true )
Definition at line 75 of file Result.php.
References MediaWiki\Shell\Result\$stderr.
MediaWiki\Shell\Result::getStdout | ( | ) |
Returns stdout of the process.
Definition at line 65 of file Result.php.
References MediaWiki\Shell\Result\$stdout.
|
private |
Definition at line 32 of file Result.php.
Referenced by MediaWiki\Shell\Result\__construct(), and MediaWiki\Shell\Result\getExitCode().
|
private |
Definition at line 38 of file Result.php.
Referenced by MediaWiki\Shell\Result\__construct(), and MediaWiki\Shell\Result\getStderr().
|
private |
Definition at line 35 of file Result.php.
Referenced by MediaWiki\Shell\Result\__construct(), and MediaWiki\Shell\Result\getStdout().