code: public function offsetGet($offset)
      {
          $fieldValue = isset($this->fields[$offset]) ? $this->fields[$offset] : null;
          $accessor = $this->getAccessor($offset);
          if ($accessor) {
              return $this->$accessor($fieldValue);
          }
  
          $accessorForLanguageField = $this->getAccessorForLanguageField($offset);
          if ($accessorForLanguageField) {
              return $this->$accessorForLanguageField($offset);
          }
  
          return $fieldValue;
      }
docs: Get method for ArrayIterator.
  
  @param $offset
  
  @return mixed