FailureResponse
extends Response
in package
implements
FailureResponseInterface
FinalYes
Carries failure response.
Table of Contents
Interfaces
- FailureResponseInterface
- Carries requests and responses between worker and host process.
Properties
- $failure : Throwable
- $historyLength : int
- $id : string|int
Methods
- __construct() : mixed
- getFailure() : Throwable
- getHistoryLength() : int<0, max>
- getID() : string|int
Properties
$failure read-only
private
Throwable
$failure
$historyLength read-only
private
int
$historyLength
$id read-only
private
string|int
$id
Methods
__construct()
public
__construct(Throwable $failure, string|int $id[, int<0, max> $historyLength = 0 ]) : mixed
Parameters
- $failure : Throwable
- $id : string|int
- $historyLength : int<0, max> = 0
getFailure()
public
getFailure() : Throwable
Return values
ThrowablegetHistoryLength()
public
getHistoryLength() : int<0, max>
Return values
int<0, max>getID()
public
getID() : string|int