src/API/Implementation/Dictionary/DictionaryApiAbstract.php
public function getTextAlternatives(
        string $text,
        Language $language
    ): DictionaryResponse {
        /** @var DictionaryResponse $response */
        $response = $this->callApi(__FUNCTION__, func_get_args());

        return $response;
    }
public function getTextAlternatives(
        string $text,
        Language $language
    ): DictionaryResponse {
        /** @var DictionaryResponse $response */
        $response = $this->callApi(__FUNCTION__, func_get_args());

        return $response;
    }
public function getTextAlternatives ( string $ text , Language $ language ) : DictionaryResponse { /** @var DictionaryResponse $response */ $ response = $ this -> callApi ( __FUNCTION__ , func_get_args ( ) ) ; return $ response ; }
Gets text alternatives

@param string   $text
@param Language $language

@throws TransportException
@throws ResponseContextException
@throws BadResponseContextException
@throws MethodDoesNotExistException

@return DictionaryResponse
Gets text alternatives