KMP PHP API Reference

WorkflowApprovalResponse extends BaseEntity
in package

WorkflowApprovalResponse Entity

Individual approval decision from a member for a workflow approval gate.

Table of Contents

Constants

DECISION_ABSTAIN  : mixed = 'abstain'
DECISION_APPROVE  : mixed = 'approve'
DECISION_REJECT  : mixed = 'reject'
DECISION_REQUEST_CHANGES  : mixed = 'request_changes'

Properties

$branch_id  : int|null
$comment  : string|null
$created  : DateTime|null
$decision  : string
$id  : int
$member  : Member
$member_id  : int
$modified  : DateTime|null
$responded_at  : DateTime
$workflow_approval  : WorkflowApproval
$workflow_approval_id  : int
$_accessible  : array<string, bool>
Fields that can be mass assigned.

Methods

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

Constants

Properties

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$modified

public DateTime|null $modified

Last modification timestamp

$_accessible

Fields that can be mass assigned.

protected array<string, bool> $_accessible = ['workflow_approval_id' => true, 'member_id' => true, 'decision' => true, 'comment' => true, 'responded_at' => 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