ProcessResult
in package
FinalYes
子プロセス実行の結果を表す値オブジェクト。
Table of Contents
Properties
Methods
- __construct() : mixed
- getExitCode() : int
- getStderr() : string
- getStdout() : string
- getTask() : ProcessTask
- isSuccessful() : bool
- isTimedOut() : bool
Properties
$exitCode
private
int
$exitCode
$stderr
private
string
$stderr
$stdout
private
string
$stdout
$task
private
ProcessTask
$task
$timedOut
private
bool
$timedOut
Methods
__construct()
public
__construct(ProcessTask $task, string $stdout, string $stderr, int $exitCode, bool $timedOut) : mixed
Parameters
- $task : ProcessTask
- $stdout : string
- $stderr : string
- $exitCode : int
- $timedOut : bool
getExitCode()
public
getExitCode() : int
Return values
intgetStderr()
public
getStderr() : string
Return values
stringgetStdout()
public
getStdout() : string
Return values
stringgetTask()
public
getTask() : ProcessTask
Return values
ProcessTaskisSuccessful()
public
isSuccessful() : bool
Return values
boolisTimedOut()
public
isTimedOut() : bool