GatePassageStatus
Lifecycle status of a {@see \Milpa\Workflow\Entities\GatePassage}.
GatePassageStatus::label()
public function label(): stringHuman-readable label for this status.
GatePassageStatus::isFinal()
public function isFinal(): boolTrue when the passage is resolved (approved or rejected) and will not change again — {@see \Milpa\Workflow\Entities\GatePassage} is append-only, so a final status is permanent.
GatePassageStatus::cases()
public static function cases(): arrayGatePassageStatus::from()
public static function from(string|int $value): staticParameters
| Name | Type | Description |
|---|---|---|
| $value | string|int |
GatePassageStatus::tryFrom()
public static function tryFrom(string|int $value): ?staticParameters
| Name | Type | Description |
|---|---|---|
| $value | string|int |