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

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

Initializes before template is rendered.

Parameters

Engine $engine

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

Traits

Better OOP experience.