code: public function getField($fieldName)
      {
          if (!isset($this->fields[$fieldName])) {
              throw new FieldNotDefined($this, $fieldName);
          }
          return $this->fields[$fieldName];
      }
docs: @param string $fieldName
  
  @return Field
  @throws FieldNotDefined