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

Merges independent generated and original WITH declarations in dependency order.

Methods§

public function prependRewritten(
    string $originalSql,
    int $statementOffset,
    string $rewrittenBody,
    string $rewrittenTail,
): string

Prepends independent rewritten CTEs while preserving the original recursive marker.

Parameters

$originalSqlstring
$statementOffsetint
$rewrittenBodystring
$rewrittenTailstring

Returns

string
Test cases 1
Called from 1
Calls 4

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

Relations§

Instantiated in 1
Method calls 1