protected function mergeColumnSchema($origin, $override)
    {
        $override->dbType .= ',' . $override->dbType;

        if ($override->isField) {
            $origin->isField = true;
        }
        if ($override->isAttribute) {
            $origin->isAttribute = true;
            $origin->type = $override->type;
            $origin->phpType = $override->phpType;

            if ($override->isMva) {
                $origin->isMva = true;
            }
        }

        return $origin;
    }
protected function mergeColumnSchema($origin, $override)
    {
        $override->dbType .= ',' . $override->dbType;

        if ($override->isField) {
            $origin->isField = true;
        }
        if ($override->isAttribute) {
            $origin->isAttribute = true;
            $origin->type = $override->type;
            $origin->phpType = $override->phpType;

            if ($override->isMva) {
                $origin->isMva = true;
            }
        }

        return $origin;
    }
protected function mergeColumnSchema ( $ origin , $ override ) { $ override -> dbType .= ',' . $ override -> dbType ; if ( $ override -> isField ) { $ origin -> isField = true ; } if ( $ override -> isAttribute ) { $ origin -> isAttribute = true ; $ origin -> type = $ override -> type ; $ origin -> phpType = $ override -> phpType ; if ( $ override -> isMva ) { $ origin -> isMva = true ; } } return $ origin ; }
Merges two column schemas into a single one.
@param ColumnSchema $origin original column schema.
@param ColumnSchema $override column schema to be applied over original one.
@return ColumnSchema merge result.
@since 2.0.10
Merges two column schemas into a single one .