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

Documentation

ClientOptions
in package

Tags
psalm-type

QueryRejectionConditionType = QueryRejectCondition::QUERY_REJECT_CONDITION_*

Table of Contents

Constants

DEFAULT_NAMESPACE  : string = 'default'

Properties

$externalStorage  : ExternalStorageOptions|null
$identity  : string
$namespace  : non-empty-string
$payloadLimits  : PayloadLimitOptions|null
$queryRejectionCondition  : int

Methods

__construct()  : mixed
ClientOptions constructor.
withExternalStorage()  : self
withIdentity()  : $this
withNamespace()  : $this
withPayloadLimits()  : self
withQueryRejectionCondition()  : $this

Constants

DEFAULT_NAMESPACE

public string DEFAULT_NAMESPACE = 'default'

Properties

$namespace

public non-empty-string $namespace = self::DEFAULT_NAMESPACE

$queryRejectionCondition

public int $queryRejectionCondition = \Temporal\Api\Enums\V1\QueryRejectCondition::QUERY_REJECT_CONDITION_NONE
Attributes
#[ExpectedValues]
$valuesFromClass: \Temporal\Api\Enums\V1\QueryRejectCondition::class

Methods

__construct()

ClientOptions constructor.

public __construct() : mixed

withIdentity()

public withIdentity(string $identity) : $this
Parameters
$identity : string
Attributes
#[Pure]
Return values
$this

withNamespace()

public withNamespace(non-empty-string $namespace) : $this
Parameters
$namespace : non-empty-string
Attributes
#[Pure]
Return values
$this

withQueryRejectionCondition()

public withQueryRejectionCondition(QueryRejectionConditionType $condition) : $this
Parameters
$condition : QueryRejectionConditionType
Tags
psalm-suppress

ImpureMethodCall

Attributes
#[Pure]
Return values
$this
On this page

Search results