Temporal Docs PHP SDK API Version 2.21 (latest release) Release notes

Documentation

UpdateResponse
in package
implements ResponseInterface

FinalYes

Table of Contents

Interfaces

ResponseInterface
Carries requests and responses between worker and host process.

Constants

COMMAND_COMPLETED  : mixed = 'UpdateCompleted'
COMMAND_VALIDATED  : mixed = '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

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

getOptions()

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

Search results