final class CreateTableLikeMutation
    implements ShadowMutation

Applies CREATE TABLE ... LIKE ... operation to the virtual schema. This mutation copies the TableDefinition from an existing table to a new table.

Methods§

public function apply(ShadowStore $store, array $rows): void
public function tableName(): string

{@inheritDoc}

Returns

string
Test cases 1

Private surface 4§

Implementation details, listed for orientation only.

private string $tableName
private string $sourceTableName
private TableDefinitionRegistry $registry
private bool $ifNotExists

Test cases 6§

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

Dedicated tests 6

Relations§

Constant reads 1