final class MySqlCteShadowComposer

Implements the My Sql Cte Shadow Composer contract for MySQL.

Methods§

public function __construct()

Configure the dependencies used by this operation.

Calls 1
public function compose(string $sql, array<string, string> $tableCtes): string

Parameters

$sqlstring
$tableCtesarray<string, string>

Returns

string
Test cases 9
Called from 1
Calls 12
public function carryPrefix(string $originalSql, string $rewrittenStatement): string

Carry Prefix for the supplied MySQL input.

Parameters

$originalSqlstring
$rewrittenStatementstring

Returns

string
Test cases 6
Called from 6
Calls 8

Private surface 1§

Implementation details, listed for orientation only.

private SqlLexerProfile $lexerProfile

Test cases 38§

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

Dedicated tests 21
Other tests reaching this symbol 17

Relations§

Instantiated in 6
Method calls 10
Type declarations 8