KMP PHP API Reference

WorkflowSchedule extends BaseEntity
in package

WorkflowSchedule Entity

Tracks execution timing for scheduled workflow definitions.

Table of Contents

Properties

$branch_id  : int|null
$claim_token  : string|null
$claimed_at  : DateTime|null
$created  : DateTime|null
$id  : int
$is_enabled  : bool
$last_run_at  : DateTime|null
$modified  : DateTime|null
$next_run_at  : DateTime|null
$workflow_definition  : WorkflowDefinition
$workflow_definition_id  : int
$_accessible  : array<string, bool>

Methods

getBranchId()  : int|null
Get the branch ID for authorization checks.

Properties

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$_accessible

protected array<string, bool> $_accessible = ['workflow_definition_id' => true, 'last_run_at' => true, 'next_run_at' => true, 'is_enabled' => true]

Methods

getBranchId()

Get the branch ID for authorization checks.

public getBranchId() : int|null

Child classes should override for complex branch relationships.

Return values
int|null

The branch ID, or null if no association

On this page

Search results