class DropSchemaSqlCollector implements Visitor (View source)

Gather SQL statements that allow to completly drop the current schema.

Methods

__construct(AbstractPlatform $platform)

No description

acceptSchema(Schema $schema)

No description

acceptTable(Table $table)

No description

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

void
clearQueries()

No description

array
getQueries()

No description

Details

__construct(AbstractPlatform $platform)

Parameters

AbstractPlatform $platform

acceptSchema(Schema $schema)

Parameters

Schema $schema

acceptTable(Table $table)

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

void clearQueries()

Return Value

void

array getQueries()

Return Value

array