final class DomainOperations
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Checks domain laws and inclusion before admitting facts into the evaluation.

Methods§

public function registration(AbstractDomain $domain): array{string, string}
public function apply(
    AbstractDomain $domain,
    string $operation,
    Term $left,
    Term|null $right = null,
    Projection $projection = new \Deriver\Deriver\Evaluator\Projection(),
): Term
public function contains(AbstractDomain $domain, Term $upper, Term $lower): bool

Tests inclusion without treating a provider failure as a negative answer.

Parameters

$domainAbstractDomainRegistered lattice
$upperTermCandidate containing fact
$lowerTermCandidate contained fact

Returns

bool Whether the domain establishes inclusion
Test cases 2
Called from 1
Calls 4

Test cases 14§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 11
Other tests reaching this symbol 3

Relations§

Instantiated in 4
Method calls 4