ClientOptions
in package
Tags
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
$identity
public
string
$identity
$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
$thiswithNamespace()
public
withNamespace(non-empty-string $namespace) : $this
Parameters
- $namespace : non-empty-string
Return values
$thiswithQueryRejectionCondition()
public
withQueryRejectionCondition(QueryRejectionConditionType $condition) : $this
Parameters
- $condition : QueryRejectionConditionType