class CreateSchemaSqlCollector extends AbstractVisitor (View source)

Methods

void
acceptSchema(Schema $schema)

No description

acceptNamespace(string $namespaceName)

Accepts a schema namespace name.

void
acceptTable(Table $table)

No description

void
acceptColumn(Table $table, Column $column)

No description

void
acceptForeignKey(Table $localTable, ForeignKeyConstraint $fkConstraint)

No description

void
acceptIndex(Table $table, Index $index)

No description

void
acceptSequence(Sequence $sequence)

No description

__construct(AbstractPlatform $platform)

No description

void
resetQueries()

No description

string[]
getQueries()

Gets all queries collected so far.

Details

void acceptSchema(Schema $schema)

Parameters

Schema $schema

Return Value

void

acceptNamespace(string $namespaceName)

Accepts a schema namespace name.

Parameters

string $namespaceName The schema namespace name to accept.

void acceptTable(Table $table)

Parameters

Table $table

Return Value

void

void acceptColumn(Table $table, Column $column)

Parameters

Table $table
Column $column

Return Value

void

void acceptForeignKey(Table $localTable, ForeignKeyConstraint $fkConstraint)

Parameters

Table $localTable
ForeignKeyConstraint $fkConstraint

Return Value

void

void acceptIndex(Table $table, Index $index)

Parameters

Table $table
Index $index

Return Value

void

void acceptSequence(Sequence $sequence)

Parameters

Sequence $sequence

Return Value

void

__construct(AbstractPlatform $platform)

Parameters

AbstractPlatform $platform

void resetQueries()

Return Value

void

string[] getQueries()

Gets all queries collected so far.

Return Value

string[]