RequiredArtifact
An artifact required by the governance plan. E.g.: specification, decision document, auditable configuration.
RequiredArtifact::__construct()
public function __construct(string $id, Milpa\Governance\EnforcementTier $tier):Parameters
| Name | Type | Description |
|---|---|---|
| $id | string | Identifier of the artifact (e.g.: "spec", "adr-log") |
| $tier | EnforcementTier | Enforcement level of its existence |
RequiredArtifact::toArray()
public function toArray(): arraySerializes the artifact to an array for storage or transmission.