public function collect(Table $table)
    {
        foreach ($table->getForeignKeys() as $foreignKey) {
            $this->dropForeignKeyQueries = array_merge(
                $this->dropForeignKeyQueries,
                $this->platform->getDropForeignKeySQLQueries($foreignKey, $table->getName())
            );
        }

        $this->dropTableQueries = array_merge(
            $this->dropTableQueries,
            $this->platform->getDropTableSQLQueries($table)
        );
    }
public function collect(Table $table)
    {
        foreach ($table->getForeignKeys() as $foreignKey) {
            $this->dropForeignKeyQueries = array_merge(
                $this->dropForeignKeyQueries,
                $this->platform->getDropForeignKeySQLQueries($foreignKey, $table->getName())
            );
        }

        $this->dropTableQueries = array_merge(
            $this->dropTableQueries,
            $this->platform->getDropTableSQLQueries($table)
        );
    }
public function collect ( Table $ table ) { foreach ( $ table -> getForeignKeys ( ) as $ foreignKey ) { $ this -> dropForeignKeyQueries = array_merge ( $ this -> dropForeignKeyQueries , $ this -> platform -> getDropForeignKeySQLQueries ( $ foreignKey , $ table -> getName ( ) ) ) ; } $ this -> dropTableQueries = array_merge ( $ this -> dropTableQueries , $ this -> platform -> getDropTableSQLQueries ( $ table ) ) ; }
Collects queries to drop tables.

@param \Fridge\DBAL\Schema\Table $table The table.
Collects queries to drop tables .