original_string: public function setField($name, $value) {
      if (isset($this->fields[$name])) {
        $this->isDirty = TRUE;
  
        return $this->record[$name] = $value;
      }
      throw new \Exception('Not a valid Field for Set ' . $name);
    }
code: public function setField($name, $value) {
      if (isset($this->fields[$name])) {
        $this->isDirty = TRUE;
  
        return $this->record[$name] = $value;
      }
      throw new \Exception('Not a valid Field for Set ' . $name);
    }
code_tokens: public function setField ( $ name , $ value ) { if ( isset ( $ this -> fields [ $ name ] ) ) { $ this -> isDirty = TRUE ; return $ this -> record [ $ name ] = $ value ; } throw new \ Exception ( 'Not a valid Field for Set ' . $ name ) ; }
docstring: Sets a field to the record.
  
  @param $name
  @param $value
  @return mixed
  
  @throws \Exception
docstring_tokens: Sets a field to the record .