final class CoreExtension extends Extension

Basic tags and filters for Latte.

Methods

void
beforeCompile(Engine $engine)

Initializes before template is compiler.

array
getTags()

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
getPasses()

Returns a list of parsers for Latte tags.

Details

at line 32
void beforeCompile(Engine $engine)

Initializes before template is compiler.

Parameters

Engine $engine

Return Value

void

at line 38
array getTags()

Returns a list of parsers for Latte tags.

Return Value

array

at line 99
array getFilters()

Returns a list of |filters.

Return Value

array

at line 169
array getFunctions()

Returns a list of functions used in templates.

Return Value

array

at line 183
array getPasses()

Returns a list of parsers for Latte tags.

Return Value

array

Traits

Better OOP experience.