Skip to content
docsv0.30.2

Falsifier

What would show a standing grant was wrong to give, and what watches for it (greenhouse decisions/0615). A position whose falsifier nothing watches is not granted (greenhouse decisions/0613 §1): a flag that is gone looks exactly like a flag that is obeyed. So the falsifier names `watcher` — the operation of the house that looks — and `withinSeconds`, how recently it must have said it looked and found nothing. A watcher that went quiet is not green: past that window the grant lends nothing.

Falsifier::__construct()

public function __construct(string $name, string $statement, Milpa\Command\Standing\NamedCall $watcher, int $withinSeconds):

Parameters

Parameters of __construct()
NameTypeDescription
$namestring
$statementstring
$watcherMilpa\Command\Standing\NamedCall
$withinSecondsint

Falsifier::toArray()

public function toArray(): array

The falsifier as data.

Falsifier::fromArray()

public static function fromArray(?mixed $data): self

The inverse of {@see self::toArray()}.

Parameters

Parameters of fromArray()
NameTypeDescription
$data?mixed