GovernanceRule
A rule derived from a decision that must be upheld in the system. Each rule is traceable to its originating decision.
GovernanceRule::__construct()
public function __construct(string $id, string $statement, string $fromDecision):Parameters
| Name | Type | Description |
|---|---|---|
| $id | string | Unique identifier of the rule |
| $statement | string | The statement of the rule (what must be upheld) |
| $fromDecision | string | ID of the decision that originates it |
GovernanceRule::toArray()
public function toArray(): arraySerializes the rule to an array for storage or transmission.