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

Documentation

BackfillPeriod
in package
uses CloneWith

FinalYes

Describes a time periods and policy and takes Actions as if that time passed by right now, all at once.

Tags
see
BackfillRequest

Table of Contents

Properties

$endTime  : DateTimeInterface
$overlapPolicy  : ScheduleOverlapPolicy
$startTime  : DateTimeInterface

Methods

new()  : self
withEndTime()  : self
End of the range to evaluate schedule in.
withOverlapPolicy()  : self
Policy for overlaps.
withStartTime()  : self
Start of the range to evaluate schedule in.
__construct()  : mixed

Properties

$endTime read-only

public DateTimeInterface $endTime
Attributes
#[MarshalDateTime]
$name: 'end_time'
$to: Timestamp::class

$overlapPolicy read-only

public ScheduleOverlapPolicy $overlapPolicy = ScheduleOverlapPolicy::Unspecified
Attributes
#[Marshal]
$name: 'overlap_policy'
$type: EnumValueType::class
$of: ScheduleOverlapPolicy::class

$startTime read-only

public DateTimeInterface $startTime
Attributes
#[MarshalDateTime]
$name: 'start_time'
$to: Timestamp::class

Methods

withEndTime()

End of the range to evaluate schedule in.

public withEndTime(DateTimeInterface|string $dateTime) : self
Parameters
$dateTime : DateTimeInterface|string
Return values
self

withStartTime()

Start of the range to evaluate schedule in.

public withStartTime(DateTimeInterface|string $dateTime) : self
Parameters
$dateTime : DateTimeInterface|string
Return values
self
On this page

Search results