Skip to content
docsv0.1.0

GovernanceRunLookup

The result of looking up the most recent governance run. Internal-use VO — does not carry `toArray()`.

GovernanceRunLookup::__construct()

public function __construct(Milpa\Governance\RunLookupState $state, ?Milpa\Governance\GovernanceRun $run, ?string $reason):

Parameters

Parameters of __construct()
NameTypeDescription
$stateRunLookupStateState of the lookup
$run?GovernanceRunThe run found, if `state` is FOUND
$reason?stringReason, useful when `state` is INVALID