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 21
void
beforeCompile(Engine $engine)
Initializes before template is compiler.
at line 30
array
getTags()
Returns a list of parsers for Latte tags.
at line 40
array
getPasses()
Returns a list of parsers for Latte tags.
at line 50
array
getFilters()
Returns a list of |filters.
at line 60
array
getFunctions()
Returns a list of functions used in templates.
at line 70
array
getProviders()
Returns a list of providers.
at line 79
mixed
getCacheKey(Engine $engine)
Returns a value to distinguish multiple versions of the template.
at line 88
void
beforeRender(Template $template)
Initializes before template is rendered.
at line 93
static stdClass
order(callable $subject, array|string $before = [], array|string $after = [])
No description