final class Passes

Methods

static void
overwrittenVariablesPass(TemplateNode $node)

Checks if foreach overrides template variables.

static void
moveTemplatePrintToHeadPass(TemplateNode $templateNode)

Move TemplatePrintNode to head.

static void
customFunctionsPass(TemplateNode $node, array $functions)

Enable custom functions.

static void
internalVariablesPass(TemplateNode $node)

$ʟ_xxx variables are forbidden

Details

at line 33
static void overwrittenVariablesPass(TemplateNode $node)

Checks if foreach overrides template variables.

Parameters

TemplateNode $node

Return Value

void

at line 64
static void moveTemplatePrintToHeadPass(TemplateNode $templateNode)

Move TemplatePrintNode to head.

Parameters

TemplateNode $templateNode

Return Value

void

at line 78
static void customFunctionsPass(TemplateNode $node, array $functions)

Enable custom functions.

Parameters

TemplateNode $node
array $functions

Return Value

void

at line 104
static void internalVariablesPass(TemplateNode $node)

$ʟ_xxx variables are forbidden

Parameters

TemplateNode $node

Return Value

void

Traits

Better OOP experience.