final class CandidateQuery
Restricted visibility: declared "@visibility parent" and "@visibility Deriver". Code outside that scope must not name this declaration.

Runs one query through the fixed stage order: select the target, open a query context, place the demand, collect the candidates. Nothing here selects definitions, reads storage or constructs a candidate itself.

Methods§

public function __construct(
    private DefinitionIndex $index,
    private EvaluatorConfig $configuration,
    private Evaluators $evaluators,
    private Snapshot $snapshot,
)

Receives the captured declarations and settings for one evaluation.

Parameters

$indexDefinitionIndex
$configurationEvaluatorConfig
$evaluatorsEvaluators
$snapshotSnapshot
public function derive(Query $query): CandidateCollection

Derives only the selected observation and its dependencies.

Parameters

$queryQuery
Test cases 100
Called from 1
Calls 10

Private surface 4§

Implementation details, listed for orientation only.

private DefinitionIndex $index
private EvaluatorConfig $configuration
private Evaluators $evaluators
private Snapshot $snapshot

Test cases 111§

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

Dedicated tests 2
Other tests reaching this symbol 109

Relations§

Instantiated in 1
Method calls 1
Type declarations 1