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