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

Compiles a read after all query mutations have run.

Constants§

public const READS = ['get', 'all', 'first', 'firstorfail', 'find', 'findorfail', 'sole', 'value', '…

The execution calls this compiler reads as one SELECT.

Methods§

public function __construct(private Grammar $grammar)

Uses the configured framework SQL grammar.

Parameters

$grammarGrammar
public function page(QueryState $state, string $method, list<Domain> $arguments): QueryState

Parameters

$stateQueryState
$methodstring
$argumentslist<Domain>The page window of a chunked or paginated read; the page itself comes from the request or the loop.

Returns

Test cases 1
Called from 1
Calls 9
public function total(QueryState $state): array{Domain, Domain}

Private surface 1§

Implementation details, listed for orientation only.

private Grammar $grammar

Test cases 15§

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 4

Relations§

Instantiated in 3
Method calls 3
Constant reads 2