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,
        ];
    }
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,
        ];
    }
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 , ] ; }
Returns an array describing language resolving context.

To be used when throwing TranslationNotMatchedException.

@param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo

@return array
Returns an array describing language resolving context .