public function getColumns($include_excluded_columns = false): ArrayObject
    {
        $arr = new ArrayObject();
        foreach ($this->columns as $key => $column) {
            if ($include_excluded_columns || !$column->isExcluded()) {
                $arr->offsetSet($key, $column);
            }
        }

        return $arr;
    }
public function getColumns($include_excluded_columns = false): ArrayObject
    {
        $arr = new ArrayObject();
        foreach ($this->columns as $key => $column) {
            if ($include_excluded_columns || !$column->isExcluded()) {
                $arr->offsetSet($key, $column);
            }
        }

        return $arr;
    }
public function getColumns ( $ include_excluded_columns = false ) : ArrayObject { $ arr = new ArrayObject ( ) ; foreach ( $ this -> columns as $ key => $ column ) { if ( $ include_excluded_columns || ! $ column -> isExcluded ( ) ) { $ arr -> offsetSet ( $ key , $ column ) ; } } return $ arr ; }
Return columns.
Return columns .