Status

Represents the outcome of a health check procedure. Each procedure produces a @see \io\vertx\jphp\ext\healthchecks\Status indicating either OK or KO. Optionally, it can also provide additional data.

package

Default

Methods

Status constructor

__construct( $status = null) 

Arguments

$status

mixed | null

getData

getData() : array

Response

array

isOk

isOk() : boolean

Response

boolean

isProcedureInError

isProcedureInError() : boolean

Response

boolean

setData

setData( $data) : $this

Arguments

$data

array

Response

$this

setOk

setOk( $ok) : $this

Arguments

$ok

boolean

Response

$this

setProcedureInError

setProcedureInError( $procedureInError) : $this

Arguments

$procedureInError

boolean

Response

$this