Skip to content
docsv0.1.0

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

Parameters of __construct()
NameTypeDescription
$idstringIdentifier of the artifact (e.g.: "spec", "adr-log")
$tierEnforcementTierEnforcement level of its existence

RequiredArtifact::toArray()

public function toArray(): array

Serializes the artifact to an array for storage or transmission.