Skip to content
docsv0.30.2

GrantState

What a host's ledger says of a standing grant right now (greenhouse decisions/0615). Never a field of the grant: what a person signed is not edited. A host DERIVES this from what was appended after the grant — and «expired» is not here because it needs no ledger: the grant carries its own date and the judge reads the clock.

GrantState::cases()

public static function cases(): array

GrantState::from()

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

Parameters

Parameters of from()
NameTypeDescription
$valuestring|int

GrantState::tryFrom()

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

Parameters

Parameters of tryFrom()
NameTypeDescription
$valuestring|int