Skip to content
docsv0.1.0

EvidenceType

The kind of evidence a {@see \Milpa\Workflow\Entities\Evidence} attachment carries (e.g. a signed SOW, a QA report, a rollback plan).

EvidenceType::label()

public function label(): string

Human-readable label for this evidence type.

EvidenceType::cases()

public static function cases(): array

EvidenceType::from()

public static function from(string|int $value): static

Parameters

Parameters of from()
NameTypeDescription
$valuestring|int

EvidenceType::tryFrom()

public static function tryFrom(string|int $value): ?static

Parameters

Parameters of tryFrom()
NameTypeDescription
$valuestring|int