interface AbstractDomain
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

A versioned abstract lattice; join is inclusion, not application-specific composition.

Naming a domain factdoctest
(new \Deriver\Deriver\Evaluator\Domain\DomainFact('policy', \Deriver\Deriver\Evaluator\Term::array([])))->domain // => 'policy'

Methods§

public function version(): string

Returns

string Semantic version recorded in the evaluator manifest.

Throws

EvaluationException If trusted plugin code fails
Called from 1
public function widen(DomainFact $previous, DomainFact $next): DomainFact
public function project(DomainFact $value, Projection $projection): DomainFact

Parameters

$valueDomainFactStructured fact
$projectionProjectionRequired field path

Returns

DomainFact Projected fact

Throws

EvaluationException If trusted plugin code fails
Called from 1

Test cases 9§

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

Dedicated tests 1
Other tests reaching this symbol 8

Relations§

Method calls 29
Type declarations 6