HealthcheckResult
Table of Contents
- $end : string|null
- Date and time at which this check ended in.
- $exitCode : int|null
- ExitCode meanings:.
- $output : string|null
- Output from last check.
- $start : DateTime|null
- Date and time at which this check started in.
- getEnd() : string|null
- Date and time at which this check ended in.
- getExitCode() : int|null
- ExitCode meanings:.
- getOutput() : string|null
- Output from last check.
- getStart() : DateTime|null
- Date and time at which this check started in.
- setEnd() : self
- Date and time at which this check ended in.
- setExitCode() : self
- ExitCode meanings:.
- setOutput() : self
- Output from last check.
- setStart() : self
- Date and time at which this check started in.
Properties
$end
Date and time at which this check ended in.
protected
string|null
$end
$exitCode
ExitCode meanings:.
protected
int|null
$exitCode
$output
Output from last check.
protected
string|null
$output
$start
Date and time at which this check started in.
protected
DateTime|null
$start
Methods
getEnd()
Date and time at which this check ended in.
public
getEnd() : string|null
RFC 3339 format with nano-seconds.
Return values
string|null —getExitCode()
ExitCode meanings:.
public
getExitCode() : int|null
- other values: error running probe
Return values
int|null —getOutput()
Output from last check.
public
getOutput() : string|null
Return values
string|null —getStart()
Date and time at which this check started in.
public
getStart() : DateTime|null
RFC 3339 format with nano-seconds.
Return values
DateTime|null —setEnd()
Date and time at which this check ended in.
public
setEnd(string|null $end) : self
RFC 3339 format with nano-seconds.
Parameters
- $end : string|null
Return values
self —setExitCode()
ExitCode meanings:.
public
setExitCode(int|null $exitCode) : self
- other values: error running probe
Parameters
- $exitCode : int|null
Return values
self —setOutput()
Output from last check.
public
setOutput(string|null $output) : self
Parameters
- $output : string|null
Return values
self —setStart()
Date and time at which this check started in.
public
setStart(DateTime|null $start) : self
RFC 3339 format with nano-seconds.
Parameters
- $start : DateTime|null