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

Documentation

StartActivityOptions extends Options
in package

FinalYes
Tags
psalm-import-type

DateIntervalValue from DateInterval

Table of Contents

Properties

$heartbeatTimeout  : DateInterval
$id  : string
$idConflictPolicy  : ActivityIdConflictPolicy
$idReusePolicy  : ActivityIdReusePolicy
$priority  : Priority
$retryOptions  : RetryOptions|null
$scheduleToCloseTimeout  : DateInterval
$scheduleToStartTimeout  : DateInterval
$startDelay  : DateInterval
$startToCloseTimeout  : DateInterval
$staticDetails  : string
$staticSummary  : string
$taskQueue  : string
$typedSearchAttributes  : TypedSearchAttributes|null

Methods

__construct()  : mixed
withHeartbeatTimeout()  : self
withId()  : self
withIdConflictPolicy()  : self
withIdReusePolicy()  : self
withPriority()  : self
withRetryOptions()  : self
withScheduleToCloseTimeout()  : self
withScheduleToStartTimeout()  : self
withStartDelay()  : self
withStartToCloseTimeout()  : self
withStaticDetails()  : self
withStaticSummary()  : self
withTaskQueue()  : self
withTypedSearchAttributes()  : self
parseInterval()  : DateInterval

Properties

Methods

withHeartbeatTimeout()

public withHeartbeatTimeout(DateIntervalValue $timeout) : self
Parameters
$timeout : DateIntervalValue
Tags
psalm-suppress

ImpureMethodCall

Attributes
#[Pure]
Return values
self

withId()

public withId(non-empty-string $id) : self
Parameters
$id : non-empty-string
Attributes
#[Pure]
Return values
self

withScheduleToCloseTimeout()

public withScheduleToCloseTimeout(DateIntervalValue $timeout) : self
Parameters
$timeout : DateIntervalValue
Tags
psalm-suppress

ImpureMethodCall

Attributes
#[Pure]
Return values
self

withScheduleToStartTimeout()

public withScheduleToStartTimeout(DateIntervalValue $timeout) : self
Parameters
$timeout : DateIntervalValue
Tags
psalm-suppress

ImpureMethodCall

Attributes
#[Pure]
Return values
self

withStartDelay()

public withStartDelay(DateIntervalValue $delay) : self
Parameters
$delay : DateIntervalValue
Tags
psalm-suppress

ImpureMethodCall

Attributes
#[Pure]
Return values
self

withStartToCloseTimeout()

public withStartToCloseTimeout(DateIntervalValue $timeout) : self
Parameters
$timeout : DateIntervalValue
Tags
psalm-suppress

ImpureMethodCall

Attributes
#[Pure]
Return values
self

withStaticDetails()

public withStaticDetails(string $details) : self
Parameters
$details : string
Attributes
#[Pure]
Return values
self

withStaticSummary()

public withStaticSummary(string $summary) : self
Parameters
$summary : string
Attributes
#[Pure]
Return values
self

withTaskQueue()

public withTaskQueue(non-empty-string $taskQueue) : self
Parameters
$taskQueue : non-empty-string
Attributes
#[Pure]
Return values
self

parseInterval()

private static parseInterval(DateIntervalValue $interval) : DateInterval
Parameters
$interval : DateIntervalValue
Return values
DateInterval
On this page

Search results