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.

void
processPass(TemplateNode $node)

No description

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

Returns a list of parsers for Latte tags.

Return Value

array

at line 54
void beforeRender(Template $template)

Initializes before template is rendered.

Parameters

Template $template

Return Value

void

at line 63
mixed getCacheKey(Engine $engine)

Returns a value to distinguish multiple versions of the template.

Parameters

Engine $engine

Return Value

mixed

at line 69
void processPass(TemplateNode $node)

No description

Parameters

TemplateNode $node

Return Value

void