classShadowDependencies
final class ShadowDependencies
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Selects shadow CTEs without colliding with user-declared CTE names.
Methods§
public function required(string $sql, array<string, string> $tableCtes): array<string, string>Includes referenced shadow CTEs and their dependencies in declaration order.
Parameters
$sql | string | |
$tableCtes | array<string, string> |
Returns
array<string, string>Test cases 1
Called from 1
Calls 7
- function-call
array_fill_keysline 24 - method-call HeaderParser::parseHeader() line 24
- new HeaderParser line 24
- function-call
array_reverseline 27 - function-call
strtolowerline 28 - method-call IdentifierReferences::referencesIdentifier() line 34
- new IdentifierReferences line 34
Test cases 18§
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 17
PgSqlSessionFactoryTestcallsPgSqlCteShadowComposerTestcallsPgSqlRewriterTestcallsStatementRewriterTestcallsDeleteTransformerTestcallsSelectProjectionTestcallsInsertSelectRendererTestcallsInsertTransformerTestcallsMatchConditionsTestcallsRowActionsTestcallsMergeTransformerTestcallsPgSqlTransformerTestcallsSelectTransformerTestcallsUpdateTransformerTestcallsRowMutationResolverTestcallsPgSqlMutationResolverTestcallsPgSqlMergeParserTestcalls