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

Documentation

ChildWorkflowInvocationCacheInterface

Table of Contents

Methods

clear()  : void
get()  : InvocationResult|InvocationFailure|InvocationMatched
getVersion()  : int
has()  : bool
hasSideEffect()  : bool
hasVersion()  : bool
nextSideEffect()  : mixed
recordInvoked()  : void
saveCompletion()  : void
saveCompletionWhen()  : void
saveFailure()  : void
saveSideEffect()  : void
saveVersion()  : void
wasInvoked()  : bool

Methods

saveCompletion()

public saveCompletion(non-empty-string $workflowType, mixed $value) : void
Parameters
$workflowType : non-empty-string
$value : mixed

Child workflow result: anything the DataConverter can encode, or an EncodedValues.

saveCompletionWhen()

public saveCompletionWhen(non-empty-string $workflowType, array<string|int, mixed> $args, mixed $value) : void
Parameters
$workflowType : non-empty-string
$args : array<string|int, mixed>

Start arguments to byte-match against, encoded via the DataConverter.

$value : mixed

Result returned on a match: anything the DataConverter can encode, or an EncodedValues.

On this page

Search results