ITranslationProviderWithId
extends
ITranslationProvider
in
Tags
Table of Contents
Methods
- getAvailableLanguages() : array<string|int, mixed>
- getId() : string
- getName() : string
- translate() : string
Methods
getAvailableLanguages()
public
getAvailableLanguages() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getId()
public
getId() : string
Tags
Return values
stringgetName()
public
getName() : string
Tags
Return values
stringtranslate()
public
translate(string|null $fromLanguage, string $toLanguage, string $text) : string
Parameters
- $fromLanguage : string|null
- $toLanguage : string
- $text : string