lib/Doctrine/DBAL/Schema/Table.php
public function getColumn($columnName)
    {
        $columnName = $this->normalizeIdentifier($columnName);
        if (! $this->hasColumn($columnName)) {
            throw SchemaException::columnDoesNotExist($columnName, $this->_name);
        }

        return $this->_columns[$columnName];
    }
public function getColumn($columnName)
    {
        $columnName = $this->normalizeIdentifier($columnName);
        if (! $this->hasColumn($columnName)) {
            throw SchemaException::columnDoesNotExist($columnName, $this->_name);
        }

        return $this->_columns[$columnName];
    }
public function getColumn ( $ columnName ) { $ columnName = $ this -> normalizeIdentifier ( $ columnName ) ; if ( ! $ this -> hasColumn ( $ columnName ) ) { throw SchemaException :: columnDoesNotExist ( $ columnName , $ this -> _name ) ; } return $ this -> _columns [ $ columnName ] ; }
Returns the Column with the given name.

@param string $columnName The column name.

@return Column

@throws SchemaException If the column does not exist.
Returns the Column with the given name .