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

Ddl resolver operations for PostgreSQL mutation.

Methods§

public function __construct(
    PgSqlParser $parser,
    PgSqlPartitionParser $partitionParser,
    TableDefinitionRegistry $registry,
    SchemaParser $schemaParser,
)

Supplies the dependencies used by this TableMutationResolver.

Parameters

$parserPgSqlParser
$partitionParserPgSqlPartitionParser
$registryTableDefinitionRegistry
$schemaParserSchemaParser
public function resolvePartition(
    string $sql,
    string $tableName,
    string $parentTable,
    bool $ifNotExists,
): ShadowMutation

Private surface 4§

Implementation details, listed for orientation only.

private PgSqlParser $parser
private PgSqlPartitionParser $partitionParser
private TableDefinitionRegistry $registry
private SchemaParser $schemaParser

Test cases 8§

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

Dedicated tests 4
Other tests reaching this symbol 4

Relations§

Instantiated in 3
Method calls 3