original_string: protected function makeFiltersForAllAttributes()
      {
          $filters = [];
  
          foreach ($this->info->attributes as $attribute) {
  
              if ($attribute->hidden || ! $this->shouldAttributeBeFilterable($attribute)) {
                  continue;
              }
  
              $filterData = $this->makeModelListFilterDataForAttributeData($attribute, $this->info);
  
              if ( ! $filterData) continue;
  
              $filters[$attribute->name] = $filterData;
          }
  
          return $filters;
      }
code: protected function makeFiltersForAllAttributes()
      {
          $filters = [];
  
          foreach ($this->info->attributes as $attribute) {
  
              if ($attribute->hidden || ! $this->shouldAttributeBeFilterable($attribute)) {
                  continue;
              }
  
              $filterData = $this->makeModelListFilterDataForAttributeData($attribute, $this->info);
  
              if ( ! $filterData) continue;
  
              $filters[$attribute->name] = $filterData;
          }
  
          return $filters;
      }
code_tokens: protected function makeFiltersForAllAttributes ( ) { $ filters = [ ] ; foreach ( $ this -> info -> attributes as $ attribute ) { if ( $ attribute -> hidden || ! $ this -> shouldAttributeBeFilterable ( $ attribute ) ) { continue ; } $ filterData = $ this -> makeModelListFilterDataForAttributeData ( $ attribute , $ this -> info ) ; if ( ! $ filterData ) continue ; $ filters [ $ attribute -> name ] = $ filterData ; } return $ filters ; }
docstring: Makes separate filter data sets for all attributes.
  
  @return ModelListFilterData[]
docstring_tokens: Makes separate filter data sets for all attributes .