final class SandboxExtension extends Extension

Security protection for the sandbox.

Methods

void
beforeCompile(Engine $engine)

Initializes before template is compiler.

array
getTags()

Returns a list of parsers for Latte tags.

array
getPasses()

Returns a list of parsers for Latte tags.

void
beforeRender(Template $template)

Initializes before template is rendered.

mixed
getCacheKey(Engine $engine)

Returns a value to distinguish multiple versions of the template.

Details

at line 33
void beforeCompile(Engine $engine)

Initializes before template is compiler.

Parameters

Engine $engine

Return Value

void

at line 39
array getTags()

Returns a list of parsers for Latte tags.

Return Value

array

at line 47
array getPasses()

Returns a list of parsers for Latte tags.

Return Value

array

at line 55
void beforeRender(Template $template)

Initializes before template is rendered.

Parameters

Template $template

Return Value

void

at line 64
mixed getCacheKey(Engine $engine)

Returns a value to distinguish multiple versions of the template.

Parameters

Engine $engine

Return Value

mixed