src/API/Implementation/Dictionary/Yandex/YandexDictionaryApi.php
protected function createGetTranslateAlternativesContext(
        string $text,
        Language $languageTo,
        Language $languageFrom
    ): RequestContext {
        $requestContext = $this->getLookupRequest($text, $languageTo, $languageFrom);

        return $this->fillGeneralRequestSettings($requestContext);
    }
protected function createGetTranslateAlternativesContext(
        string $text,
        Language $languageTo,
        Language $languageFrom
    ): RequestContext {
        $requestContext = $this->getLookupRequest($text, $languageTo, $languageFrom);

        return $this->fillGeneralRequestSettings($requestContext);
    }
protected function createGetTranslateAlternativesContext ( string $ text , Language $ languageTo , Language $ languageFrom ) : RequestContext { $ requestContext = $ this -> getLookupRequest ( $ text , $ languageTo , $ languageFrom ) ; return $ this -> fillGeneralRequestSettings ( $ requestContext ) ; }
Create request context for get-translate-alternatives request

@param string   $text
@param Language $languageTo
@param Language $languageFrom

@throws RequestContextException

@return RequestContext
Create request context for get - translate - alternatives request