final class ReferencedTableLookup
Restricted visibility: declared "@visibility ZtdQuery\Platform\Sqlite". Code outside that scope must not name this declaration.

Checks statement relations against known shadow tables and views.

Methods§

public function __construct(
    private SqliteCteShadowComposer $cteComposer,
    private SqliteParser $parser,
    private TableDefinitionRegistry $registry,
    private ShadowStore $shadowStore,
    private ViewDefinitionSet $views,
)

Binds the collaborators used by this operation.

public function findUnknownTable(string $sql): ?string
public function tableExists(string $tableName): bool

Private surface 5§

Implementation details, listed for orientation only.

private SqliteCteShadowComposer $cteComposer
private SqliteParser $parser
private TableDefinitionRegistry $registry
private ShadowStore $shadowStore
private ViewDefinitionSet $views

Test cases 8§

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

Dedicated tests 5
Other tests reaching this symbol 3

Relations§

Instantiated in 1
Method calls 1
Type declarations 1