KMP PHP API Reference

WorkflowContextAwareTrait

Shared context-resolution logic for workflow action and condition classes.

Provides resolveValue() which dereferences '$.' context paths via CoreConditions.

Table of Contents

Methods

resolveValue()  : mixed
Resolve a config value from context if it starts with '$.'.

Methods

resolveValue()

Resolve a config value from context if it starts with '$.'.

protected resolveValue(mixed $value, array<string|int, mixed> $context) : mixed
Parameters
$value : mixed

Raw value or context path (e.g. '$.trigger.memberId')

$context : array<string|int, mixed>

Current workflow context

Return values
mixed

Resolved value

On this page

Search results