original_string: public function visibleColumns()
      {
          $visible = array_filter(explode(',', request(Tools\ColumnSelector::SELECT_COLUMN_NAME)));
  
          if (empty($visible)) {
              return $this->columns;
          }
  
          array_push($visible, '__row_selector__', '__actions__');
  
          return $this->columns->filter(function (Column $column) use ($visible) {
              return in_array($column->getName(), $visible);
          });
      }
code: public function visibleColumns()
      {
          $visible = array_filter(explode(',', request(Tools\ColumnSelector::SELECT_COLUMN_NAME)));
  
          if (empty($visible)) {
              return $this->columns;
          }
  
          array_push($visible, '__row_selector__', '__actions__');
  
          return $this->columns->filter(function (Column $column) use ($visible) {
              return in_array($column->getName(), $visible);
          });
      }
code_tokens: public function visibleColumns ( ) { $ visible = array_filter ( explode ( ',' , request ( Tools \ ColumnSelector :: SELECT_COLUMN_NAME ) ) ) ; if ( empty ( $ visible ) ) { return $ this -> columns ; } array_push ( $ visible , '__row_selector__' , '__actions__' ) ; return $ this -> columns -> filter ( function ( Column $ column ) use ( $ visible ) { return in_array ( $ column -> getName ( ) , $ visible ) ; } ) ; }
docstring: Get all visible column instances.
  
  @return Collection|static
docstring_tokens: Get all visible column instances .