Extension
abstract class Extension
Latte extension.
Methods
void
array
getTags()
Returns a list of parsers for Latte tags.
array
getPasses()
Returns a list of parsers for Latte tags.
array
getFilters()
Returns a list of |filters.
array
getFunctions()
Returns a list of functions used in templates.
array
getProviders()
Returns a list of providers.
mixed
void
Details
at line 23
void
beforeCompile(Engine $engine)
Initializes before template is compiler.
at line 32
array
getTags()
Returns a list of parsers for Latte tags.
at line 42
array
getPasses()
Returns a list of parsers for Latte tags.
at line 52
array
getFilters()
Returns a list of |filters.
at line 62
array
getFunctions()
Returns a list of functions used in templates.
at line 72
array
getProviders()
Returns a list of providers.
at line 81
mixed
getCacheKey(Engine $engine)
Returns a value to distinguish multiple versions of the template.
at line 90
void
beforeRender(Template $template)
Initializes before template is rendered.
at line 95
static stdClass
order(callable $subject, array|string $before = [], array|string $after = [])
No description