You are here

public function Twig_NodeVisitor_Optimizer::getPriority in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/NodeVisitor/Optimizer.php \Twig_NodeVisitor_Optimizer::getPriority()

Returns the priority for this visitor.

Priority should be between -10 and 10 (0 is the default).

Return value

int The priority level

Overrides Twig_NodeVisitorInterface::getPriority

File

vendor/twig/twig/lib/Twig/NodeVisitor/Optimizer.php, line 267

Class

Twig_NodeVisitor_Optimizer
Twig_NodeVisitor_Optimizer tries to optimizes the AST.

Code

public function getPriority() {
  return 255;
}