Skip to content
docsv0.30.2

StandingCall

The call a standing grant is asked about, as facts (greenhouse decisions/0615). Each one is the host's reading, never the caller's word: `subject` is what {@see \Milpa\Command\Operation::actsOnDigest()} computed from the bytes, and `effect` is what {@see \Milpa\Command\Operation::ceilingForCall()} composed for these arguments.

StandingCall::__construct()

public function __construct(?mixed $operation, array $arguments, string $seat, ?string $subject, Milpa\Command\Effect\EffectProfile $effect, DateTimeImmutable $at):

Parameters

Parameters of __construct()
NameTypeDescription
$operationmixedthe operation that is called, by its name as TEXT, as it reads: a text that names no operation is not a call a grant could be asked about, and an identity built elsewhere has already had its ends taken off — anything but a text is a `TypeError`, whatever the caller's file declares
$argumentsarray<string, mixed>the arguments of the call AS THE OPERATION READS THEM: its defaults filled in, its texts as it trims or folds them, its types as it declares them. A grant fixes a value and the judge compares it with what is handed in here; a host that hands in the raw spelling of a surface leaves a stop, and a condition, as exact as that spelling ({@see StandingJudge::mayBeNaming()} says how far the judge covers it)
$seatstringwho calls, by the key the grant would name it by
$subject(string | null)the digest of the content this call acts on, or `null` when the operation cannot say
$effectEffectProfilethe ceiling THIS call carries
$at\DateTimeImmutablethe moment of the act