framework/db/TableSchema.php
public function getColumn($name)
    {
        return isset($this->columns[$name]) ? $this->columns[$name] : null;
    }
public function getColumn($name)
    {
        return isset($this->columns[$name]) ? $this->columns[$name] : null;
    }
Gets the named column metadata.
This is a convenient method for retrieving a named column even if it does not exist.
@param string $name column name
@return ColumnSchema metadata of the named column. Null if the named column does not exist.