UpdateResponse
in package
implements
ResponseInterface
FinalYes
Table of Contents
Interfaces
- ResponseInterface
- Carries requests and responses between worker and host process.
Constants
- COMMAND_COMPLETED = 'UpdateCompleted'
- COMMAND_VALIDATED = 'UpdateValidated'
Properties
- $command : string
- $failure : Throwable|null
- $updateId : string|int
- $values : ValuesInterface|null
Methods
- __construct() : mixed
- getCommand() : string
- getFailure() : Throwable|null
- getID() : int
- getOptions() : array<string|int, mixed>
- getPayloads() : ValuesInterface|null
Constants
COMMAND_COMPLETED
public
mixed
COMMAND_COMPLETED
= 'UpdateCompleted'
COMMAND_VALIDATED
public
mixed
COMMAND_VALIDATED
= 'UpdateValidated'
Properties
$command read-only
private
string
$command
$failure read-only
private
Throwable|null
$failure
$updateId
private
string|int
$updateId
$values
private
ValuesInterface|null
$values
Methods
__construct()
public
__construct(string $command, ValuesInterface|null $values, Throwable|null $failure, string|int $updateId) : mixed
Parameters
- $command : string
- $values : ValuesInterface|null
- $failure : Throwable|null
- $updateId : string|int
getCommand()
public
getCommand() : string
Return values
stringgetFailure()
public
getFailure() : Throwable|null
Return values
Throwable|nullgetID()
public
getID() : int
Return values
intgetOptions()
public
getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>getPayloads()
public
getPayloads() : ValuesInterface|null