Documentation

UpdateResponse extends Response
in package

Table of Contents

Constants

COMMAND_COMPLETED  = 'UpdateCompleted'
COMMAND_VALIDATED  = 'UpdateValidated'

Properties

$command  : string
$failure  : Throwable|null
$historyLength  : int
$id  : string|int
$updateId  : string|int
$values  : ValuesInterface|null

Methods

__construct()  : mixed
getCommand()  : string
getFailure()  : Throwable|null
getHistoryLength()  : int<0, max>
getID()  : string|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

$historyLength read-only

private int $historyLength

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

getFailure()

public getFailure() : Throwable|null
Return values
Throwable|null

getHistoryLength()

public getHistoryLength() : int<0, max>
Return values
int<0, max>

getID()

public getID() : string|int
Return values
string|int

getOptions()

public getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results