class CreateSchemaSqlCollector implements Visitor (View source)

Methods

__construct(AbstractPlatform $platform)

No description

acceptSchema(Schema $schema)

No description

acceptTable(Table $table)

Generate DDL Statements to create the accepted table with all its dependencies.

acceptColumn(Table $table, Column $column)

No description

acceptForeignKey(Table $localTable, ForeignKeyConstraint $fkConstraint)

No description

acceptIndex(Table $table, Index $index)

No description

acceptSequence(Sequence $sequence)

No description

array
resetQueries()

No description

array
getQueries()

Get all queries collected so far.

Details

__construct(AbstractPlatform $platform)

Parameters

AbstractPlatform $platform

acceptSchema(Schema $schema)

Parameters

Schema $schema

acceptTable(Table $table)

Generate DDL Statements to create the accepted table with all its dependencies.

Parameters

Table $table

acceptColumn(Table $table, Column $column)

Parameters

Table $table
Column $column

acceptForeignKey(Table $localTable, ForeignKeyConstraint $fkConstraint)

Parameters

Table $localTable
ForeignKeyConstraint $fkConstraint

acceptIndex(Table $table, Index $index)

Parameters

Table $table
Index $index

acceptSequence(Sequence $sequence)

Parameters

Sequence $sequence

array resetQueries()

Return Value

array

array getQueries()

Get all queries collected so far.

Return Value

array