lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
protected function _getPortableTableColumnList($table, $database, $tableColumns)
    {
        $eventManager = $this->_platform->getEventManager();

        $list = [];
        foreach ($tableColumns as $tableColumn) {
            $column           = null;
            $defaultPrevented = false;

            if ($eventManager !== null && $eventManager->hasListeners(Events::onSchemaColumnDefinition)) {
                $eventArgs = new SchemaColumnDefinitionEventArgs($tableColumn, $table, $database, $this->_conn);
                $eventManager->dispatchEvent(Events::onSchemaColumnDefinition, $eventArgs);

                $defaultPrevented = $eventArgs->isDefaultPrevented();
                $column           = $eventArgs->getColumn();
            }

            if (! $defaultPrevented) {
                $column = $this->_getPortableTableColumnDefinition($tableColumn);
            }

            if (! $column) {
                continue;
            }

            $name        = strtolower($column->getQuotedName($this->_platform));
            $list[$name] = $column;
        }

        return $list;
    }
protected function _getPortableTableColumnList($table, $database, $tableColumns)
    {
        $eventManager = $this->_platform->getEventManager();

        $list = [];
        foreach ($tableColumns as $tableColumn) {
            $column           = null;
            $defaultPrevented = false;

            if ($eventManager !== null && $eventManager->hasListeners(Events::onSchemaColumnDefinition)) {
                $eventArgs = new SchemaColumnDefinitionEventArgs($tableColumn, $table, $database, $this->_conn);
                $eventManager->dispatchEvent(Events::onSchemaColumnDefinition, $eventArgs);

                $defaultPrevented = $eventArgs->isDefaultPrevented();
                $column           = $eventArgs->getColumn();
            }

            if (! $defaultPrevented) {
                $column = $this->_getPortableTableColumnDefinition($tableColumn);
            }

            if (! $column) {
                continue;
            }

            $name        = strtolower($column->getQuotedName($this->_platform));
            $list[$name] = $column;
        }

        return $list;
    }
protected function _getPortableTableColumnList ( $ table , $ database , $ tableColumns ) { $ eventManager = $ this -> _platform -> getEventManager ( ) ; $ list = [ ] ; foreach ( $ tableColumns as $ tableColumn ) { $ column = null ; $ defaultPrevented = false ; if ( $ eventManager !== null && $ eventManager -> hasListeners ( Events :: onSchemaColumnDefinition ) ) { $ eventArgs = new SchemaColumnDefinitionEventArgs ( $ tableColumn , $ table , $ database , $ this -> _conn ) ; $ eventManager -> dispatchEvent ( Events :: onSchemaColumnDefinition , $ eventArgs ) ; $ defaultPrevented = $ eventArgs -> isDefaultPrevented ( ) ; $ column = $ eventArgs -> getColumn ( ) ; } if ( ! $ defaultPrevented ) { $ column = $ this -> _getPortableTableColumnDefinition ( $ tableColumn ) ; } if ( ! $ column ) { continue ; } $ name = strtolower ( $ column -> getQuotedName ( $ this -> _platform ) ) ; $ list [ $ name ] = $ column ; } return $ list ; }
Independent of the database the keys of the column list result are lowercased.

The name of the created column instance however is kept in its case.

@param string    $table        The name of the table.
@param string    $database
@param mixed[][] $tableColumns

@return Column[]
Independent of the database the keys of the column list result are lowercased .