TranslatorExtension
final class TranslatorExtension extends Extension
Extension for translations.
Methods
__construct(Translator|null $translator, string|null $key = null)
No description
array
getTags()
Returns a list of parsers for Latte tags.
array
getFilters()
Returns a list of |filters.
mixed
static mixed
toValue($args)
No description
Details
at line 30
__construct(Translator|null $translator, string|null $key = null)
No description
at line 41
array
getTags()
Returns a list of parsers for Latte tags.
at line 50
array
getFilters()
Returns a list of |filters.
at line 60
mixed
getCacheKey(Engine $engine)
Returns a value to distinguish multiple versions of the template.
at line 98
static mixed
toValue($args)
No description