EvaluateAndGetStatus
in package
Evaluates the spec and returns a status.
Table of Contents
- evaluate() : string
- Evaluates the spec and returns a status.
Methods
evaluate()
Evaluates the spec and returns a status.
public
static evaluate(array<string|int, mixed> $spec, string $current_status, object $stored_state, object $rule_evaluator) : string
Parameters
- $spec : array<string|int, mixed>
-
The spec to evaluate.
- $current_status : string
-
The note's current status.
- $stored_state : object
-
Stored state.
- $rule_evaluator : object
-
Evaluates rules into true/false.