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.

void
processPass(TemplateNode $node)

No description

Details

at line 31
void beforeCompile(Engine $engine)

Initializes before template is compiler.

Parameters

Engine $engine

Return Value

void

at line 37
array getTags()

Returns a list of parsers for Latte tags.

Return Value

array

at line 45
array getPasses()

Returns a list of parsers for Latte tags.

Return Value

array

at line 53
void beforeRender(Engine $engine)

Initializes before template is rendered.

Parameters

Engine $engine

Return Value

void

at line 61
void processPass(TemplateNode $node)

No description

Parameters

TemplateNode $node

Return Value

void

Traits

Better OOP experience.