final class TranslatorExtension extends Extension

Latte v3 extension for translations.

Methods

__construct(Translator|null $translator, string|null $key = null)

No description

array
getTags()

No description

array
getFilters()

No description

mixed
getCacheKey(Engine $engine)

No description

PrintNode
parseTranslate(Tag $tag)

{_ ...}

Details

at line 26
__construct(Translator|null $translator, string|null $key = null)

No description

Parameters

Translator|null $translator
string|null $key

at line 33
array getTags()

No description

Return Value

array

at line 42
array getFilters()

No description

Return Value

array

at line 52
mixed getCacheKey(Engine $engine)

No description

Parameters

Engine $engine

Return Value

mixed

at line 61
PrintNode parseTranslate(Tag $tag)

{_ ...}

Parameters

Tag $tag

Return Value

PrintNode