class LabelTranslator extends Translator

Methods

string|array
get(string $key, array $replace = [], string|null $locale = null, bool $fallback = true)

Get the translation for the given key.

Details

at line 22
string|array get(string $key, array $replace = [], string|null $locale = null, bool $fallback = true)

Get the translation for the given key.

Parameters

string $key
array $replace
string|null $locale
bool $fallback

Return Value

string|array