Documentation

ClientOptions
in package

Tags
psalm-type

QueryRejectionConditionType = QueryRejectCondition::QUERY_REJECT_CONDITION_*

Table of Contents

Constants

DEFAULT_NAMESPACE  = 'default'

Properties

$identity  : string
$namespace  : non-empty-string
$queryRejectionCondition  : int

Methods

__construct()  : mixed
ClientOptions constructor.
withIdentity()  : $this
withNamespace()  : $this
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

Methods

__construct()

ClientOptions constructor.

public __construct() : mixed

withIdentity()

public withIdentity(string $identity) : $this
Parameters
$identity : string
Return values
$this

withNamespace()

public withNamespace(non-empty-string $namespace) : $this
Parameters
$namespace : non-empty-string
Return values
$this

withQueryRejectionCondition()

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

ImpureMethodCall

Return values
$this

        
On this page

Search results