code: public function resolveLinkCollection(array $links, string $locale = null): array
      {
          return $this->linkResolver->resolveLinkCollection($links, [
              'locale' => (string) $locale,
          ]);
      }
docs: {@inheritdoc}