code: public function get(string $name, string $locale = null, bool $resolveLinks = true)
      {
          $field = $this->sys->getContentType()->getField($name, true);
          if ($field) {
              $result = $this->getUnresolvedField($field, $locale);
  
              return $resolveLinks
                  ? $this->resolveFieldLinks($result, $locale)
                  : $result;
          }
  
          // If no clean match was found using the provided field name,
          // let's attempt to see if we're fetching an ID of a link or array of links.
          $value = $this->getFieldWithId($name, $locale);
          if (null !== $value) {
              return $value;
          }
  
          throw new \InvalidArgumentException(\sprintf(
              'Trying to access non existent field "%s" on an entry with content type "%s" ("%s").',
              $name,
              $this->sys->getContentType()->getName(),
              $this->sys->getContentType()->getSystemProperties()->getId()
          ));
      }
docs: Returns a the value of a field using the given locale.
  It will also resolve links. If you want to access the ID of a link
  or of an array of links, simply append "Id" to the end of the
  $name parameter.
  
  ```
  $author = $entry->get('author');
  $id = $entry->get('authorId');
  ```
  
  @param string      $name
  @param string|null $locale
  @param bool        $resolveLinks If set to false, links and array of links will not be resolved
  
  @return mixed