original_string: public function addField(string $field, string $value): self
      {
          $this->fields[$field] = $value;
  
          return $this;
      }
code: public function addField(string $field, string $value): self
      {
          $this->fields[$field] = $value;
  
          return $this;
      }
code_tokens: public function addField ( string $ field , string $ value ) : self { $ this -> fields [ $ field ] = $ value ; return $ this ; }
docstring: Add a field to this filter, such as 'title'.
  
  @param string $field The field to filter on.
  @param string $value The value to filter by.
  
  @return self Fluent return.
docstring_tokens: Add a field to this filter such as title .