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

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

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

@param string   $text
@param Language $language

@throws RequestContextException

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