code: public function resolveLink(Link $link, string $locale = null): ResourceInterface
      {
          return $this->linkResolver->resolveLink($link, [
              'locale' => (string) $locale,
          ]);
      }
docs: {@inheritdoc}