original_string: public function useFields($fields)
      {
          if (is_string($fields)) {
              $fields = explode(',', $fields);
          }
          $this->fields = $fields;
  
          return $this;
      }
code: public function useFields($fields)
      {
          if (is_string($fields)) {
              $fields = explode(',', $fields);
          }
          $this->fields = $fields;
  
          return $this;
      }
code_tokens: public function useFields ( $ fields ) { if ( is_string ( $ fields ) ) { $ fields = explode ( ',' , $ fields ) ; } $ this -> fields = $ fields ; return $ this ; }
docstring: Set fields on which filtering will be done.
  
  @param string|array $fields
  
  @return QuickSearch $this
docstring_tokens: Set fields on which filtering will be done .