GateOutcome
Verdict of a governance gate after a real run. Mirrors the shape of `Milpa\Enums\VerificationStatus` (tri-state passed/failed/waived, plus pending for asynchronous verifications not yet resolved) — without importing it: this leaf is php-only and does not depend on `milpa/core`.
GateOutcome::isSatisfied()
public function isSatisfied(): boolWhether the verdict releases the gate. PASSED and WAIVED satisfy it; FAILED and PENDING do not.
GateOutcome::isFinal()
public function isFinal(): boolWhether the verdict is terminal (anything but PENDING).
GateOutcome::cases()
public static function cases(): arrayGateOutcome::from()
public static function from(string|int $value): staticParameters
| Name | Type | Description |
|---|---|---|
| $value | string|int |
GateOutcome::tryFrom()
public static function tryFrom(string|int $value): ?staticParameters
| Name | Type | Description |
|---|---|---|
| $value | string|int |