Methods |
public
|
beforeCompile(Engine $engine): void
Initializes before template is compiler.
Initializes before template is compiler.
|
#
|
public
|
getTags(): array<string, (callable(Tag, TemplateParser): (Node|Generator|void))|stdClass>
Returns a list of parsers for Latte tags.
Returns a list of parsers for Latte tags.
Overridden by
|
#
|
public
|
getPasses(): array<string, (callable(TemplateNode): void)|stdClass>
Returns a list of parsers for Latte tags.
Returns a list of parsers for Latte tags.
|
#
|
public
|
getFilters(): array<string, callable>
Returns a list of |filters.
Returns a list of |filters.
|
#
|
public
|
getFunctions(): array<string, callable>
Returns a list of functions used in templates.
Returns a list of functions used in templates.
Overridden by
|
#
|
public
|
getProviders(): array<mixed>
Returns a list of providers.
Returns a list of providers.
|
#
|
public
|
getCacheKey(Engine $engine): mixed
Returns a value to distinguish multiple versions of the template.
Returns a value to distinguish multiple versions of the template.
|
#
|
public
|
beforeRender(Template $template): void
Initializes before template is rendered.
Initializes before template is rendered.
|
#
|
public
static
|
order(callable $subject, array|string $before = [], array|string $after = []): stdClass
|
#
|