public function collect(Table $table)
    {
        $this->createTableQueries = array_merge(
            $this->createTableQueries,
            $this->platform->getCreateTableSQLQueries($table, array('foreign_key' => false))
        );

        foreach ($table->getForeignKeys() as $foreignKey) {
            $this->createForeignKeyQueries = array_merge(
                $this->createForeignKeyQueries,
                $this->platform->getCreateForeignKeySQLQueries($foreignKey, $table->getName())
            );
        }
    }
public function collect(Table $table)
    {
        $this->createTableQueries = array_merge(
            $this->createTableQueries,
            $this->platform->getCreateTableSQLQueries($table, array('foreign_key' => false))
        );

        foreach ($table->getForeignKeys() as $foreignKey) {
            $this->createForeignKeyQueries = array_merge(
                $this->createForeignKeyQueries,
                $this->platform->getCreateForeignKeySQLQueries($foreignKey, $table->getName())
            );
        }
    }
public function collect ( Table $ table ) { $ this -> createTableQueries = array_merge ( $ this -> createTableQueries , $ this -> platform -> getCreateTableSQLQueries ( $ table , array ( 'foreign_key' => false ) ) ) ; foreach ( $ table -> getForeignKeys ( ) as $ foreignKey ) { $ this -> createForeignKeyQueries = array_merge ( $ this -> createForeignKeyQueries , $ this -> platform -> getCreateForeignKeySQLQueries ( $ foreignKey , $ table -> getName ( ) ) ) ; } }
Collects queries to create tables.

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