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

Internal operation context with dependencies evaluated by the shared search.

Properties§

public Evaluator $engine
public Frame $frame
public ?Instruction $instruction
public int $depth
public ?string $function = null
public ?Site $site = null

Methods§

public function __construct(
    public Evaluator $engine,
    public Frame $frame,
    public ?Instruction $instruction,
    public int $depth,
    public ?string $function = null,
    public ?Site $site = null,
)

Captures one evaluation site without evaluating its children.

Parameters

$engineEvaluator
$frameFrame
$instruction?Instruction
$depthint
$function?string
$site?Site

Throws

EvaluationContractException If no operation site is supplied
Calls 1
public function operation(): string

Identifies a registered operation without exposing its graph representation.

Returns

string
Test cases 1
Called from 1
Calls 1
public function truth(int|string $key): Term

Demands only boolean possibilities, separately from complete value inputs.

Parameters

$keyint|string

Returns

Test cases 1
Called from 1
Calls 3
public function register(int|string $key): string
public function instruction(): Instruction

Private surface 1§

Implementation details, listed for orientation only.

private array<int|string, Term> $inputs = []

Test cases 19§

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

Dedicated tests 8
Other tests reaching this symbol 11

Relations§

Instantiated in 7
Method calls 14
Type declarations 10