ITranslationProviderWithUserId
extends
ITranslationProvider
in
Tags
Table of Contents
Methods
- getAvailableLanguages() : array<string|int, mixed>
- getName() : string
- setUserId() : mixed
- translate() : string
Methods
getAvailableLanguages()
public
getAvailableLanguages() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getName()
public
getName() : string
Tags
Return values
stringsetUserId()
public
setUserId(string|null $userId) : mixed
Parameters
- $userId : string|null
-
The userId of the user requesting the current task
Tags
translate()
public
translate(string|null $fromLanguage, string $toLanguage, string $text) : string
Parameters
- $fromLanguage : string|null
- $toLanguage : string
- $text : string