original_string: public function setValues(array $values)
      {
          foreach ($values as $name => $value) {
              $this->fields->set($name, $value);
          }
  
          return $this;
      }
code: public function setValues(array $values)
      {
          foreach ($values as $name => $value) {
              $this->fields->set($name, $value);
          }
  
          return $this;
      }
code_tokens: public function setValues ( array $ values ) { foreach ( $ values as $ name => $ value ) { $ this -> fields -> set ( $ name , $ value ) ; } return $ this ; }
docstring: Sets the value of the fields.
  
  @param array $values An array of field values
  
  @return $this
docstring_tokens: Sets the value of the fields .