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

Resolves table lifecycle and ALTER operations.

Methods§

public function __construct(
    private SqliteParser $parser,
    private TableDefinitionRegistry $registry,
    private SchemaParser $schemaParser,
)

Binds the collaborators used by this operation.

Parameters

public function resolveCreateTable(string $sql): ShadowMutation

Resolves table lifecycle and ALTER operations.

Parameters

$sqlstring
Test cases 13
Called from 1
Calls 6
public function resolveAlterTable(string $sql): ShadowMutation

Parameters

$sqlstring
Test cases 50
Called from 1
Calls 15

Private surface 3§

Implementation details, listed for orientation only.

private SqliteParser $parser
private TableDefinitionRegistry $registry
private SchemaParser $schemaParser

Test cases 78§

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

Dedicated tests 74
Other tests reaching this symbol 4

Relations§

Instantiated in 3
Method calls 3