public function to($fieldOrColumnOrComponent)
    {
        call_user_func(
                $this->columnCallback,
                $fieldOrColumnOrComponent instanceof IColumn
                        ? $fieldOrColumnOrComponent
                        : Column::from($fieldOrColumnOrComponent, $this->hidden)
        );
    }
public function to($fieldOrColumnOrComponent)
    {
        call_user_func(
                $this->columnCallback,
                $fieldOrColumnOrComponent instanceof IColumn
                        ? $fieldOrColumnOrComponent
                        : Column::from($fieldOrColumnOrComponent, $this->hidden)
        );
    }
public function to ( $ fieldOrColumnOrComponent ) { call_user_func ( $ this -> columnCallback , $ fieldOrColumnOrComponent instanceof IColumn ? $ fieldOrColumnOrComponent : Column :: from ( $ fieldOrColumnOrComponent , $ this -> hidden ) ) ; }
Maps to a column component instance.

@param IField|FieldBuilderBase|IColumn|IColumnComponent|Column $fieldOrColumnOrComponent

@return void
Maps to a column component instance .