Durable Workflow PHP SDK — API Reference

Guides

ScheduleOrigin
in package

FinalYes

The schedule fire that started a run, read from the run's own ScheduleTriggered history event.

occurrenceTime is the time the scheduler evaluated: the jittered fire time for a tick, or the enumerated time for a backfill. It is not the run's actual start time. It is null for a fire recorded without an occurrence.

Table of Contents

Properties

$occurrenceTime  : DateTimeImmutable|null
$scheduleId  : string
$triggerNumber  : int|null

Methods

__construct()  : mixed

Properties

$occurrenceTime read-only

public DateTimeImmutable|null $occurrenceTime

Methods

__construct()

public __construct(string $scheduleId, DateTimeImmutable|null $occurrenceTime, int|null $triggerNumber) : mixed
Parameters
$scheduleId : string
$occurrenceTime : DateTimeImmutable|null
$triggerNumber : int|null
On this page

Search results