original_string: private function getContext(VersionInfo $versionInfo)
      {
          return [
              'prioritizedLanguages' => $this->settings->prioritizedLanguages,
              'useAlwaysAvailable' => $this->settings->useAlwaysAvailable,
              'availableTranslations' => $versionInfo->languageCodes,
              'mainTranslation' => $versionInfo->contentInfo->mainLanguageCode,
              'alwaysAvailable' => $versionInfo->contentInfo->alwaysAvailable,
          ];
      }
code: private function getContext(VersionInfo $versionInfo)
      {
          return [
              'prioritizedLanguages' => $this->settings->prioritizedLanguages,
              'useAlwaysAvailable' => $this->settings->useAlwaysAvailable,
              'availableTranslations' => $versionInfo->languageCodes,
              'mainTranslation' => $versionInfo->contentInfo->mainLanguageCode,
              'alwaysAvailable' => $versionInfo->contentInfo->alwaysAvailable,
          ];
      }
code_tokens: private function getContext ( VersionInfo $ versionInfo ) { return [ 'prioritizedLanguages' => $ this -> settings -> prioritizedLanguages , 'useAlwaysAvailable' => $ this -> settings -> useAlwaysAvailable , 'availableTranslations' => $ versionInfo -> languageCodes , 'mainTranslation' => $ versionInfo -> contentInfo -> mainLanguageCode , 'alwaysAvailable' => $ versionInfo -> contentInfo -> alwaysAvailable , ] ; }
docstring: Returns an array describing language resolving context.
  
  To be used when throwing TranslationNotMatchedException.
  
  @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
  
  @return array
docstring_tokens: Returns an array describing language resolving context .