protected function _initColumn($column)
    {
        $defaults = [
            'type'  => 'string',
            'array' => false
        ];
        if (is_string($column)) {
            $column = ['type' => $column];
        } elseif (isset($column[0])) {
            $column['type'] = $column[0];
            unset($column[0]);
        }
        $column += $defaults;
        return $column + ['null' => false];
    }
protected function _initColumn($column)
    {
        $defaults = [
            'type'  => 'string',
            'array' => false
        ];
        if (is_string($column)) {
            $column = ['type' => $column];
        } elseif (isset($column[0])) {
            $column['type'] = $column[0];
            unset($column[0]);
        }
        $column += $defaults;
        return $column + ['null' => false];
    }
protected function _initColumn ( $ column ) { $ defaults = [ 'type' => 'string' , 'array' => false ] ; if ( is_string ( $ column ) ) { $ column = [ 'type' => $ column ] ; } elseif ( isset ( $ column [ 0 ] ) ) { $ column [ 'type' ] = $ column [ 0 ] ; unset ( $ column [ 0 ] ) ; } $ column += $ defaults ; return $ column + [ 'null' => false ] ; }
Normalizes a column.

@param  array $column A column definition.
@return array         A normalized column array.
Normalizes a column .