src/Db/Column.php
public static function copy(BaseColumn $column)
    {
        $definition = self::filterArray(get_object_vars($column));
        return new self($definition['name'], $definition);
    }
public static function copy(BaseColumn $column)
    {
        $definition = self::filterArray(get_object_vars($column));
        return new self($definition['name'], $definition);
    }
public static function copy ( BaseColumn $ column ) { $ definition = self :: filterArray ( get_object_vars ( $ column ) ) ; return new self ( $ definition [ 'name' ] , $ definition ) ; }
Copy to new column
Copy to new column