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 34
void beforeCompile(Engine $engine)

Initializes before template is compiler.

Parameters

Engine $engine

Return Value

void

at line 40
array getTags()

Returns a list of parsers for Latte tags.

Return Value

array

at line 48
array getPasses()

Returns a list of parsers for Latte tags.

Return Value

array

at line 56
void beforeRender(Template $template)

Initializes before template is rendered.

Parameters

Template $template

Return Value

void

at line 65
mixed getCacheKey(Engine $engine)

Returns a value to distinguish multiple versions of the template.

Parameters

Engine $engine

Return Value

mixed

at line 71
void processPass(TemplateNode $node)

No description

Parameters

TemplateNode $node

Return Value

void

Traits

Better OOP experience.