You are here

public function Twig_NodeVisitor_Optimizer::getPriority in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/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/NodeVisitor/Optimizer.php, line 253

Class

Twig_NodeVisitor_Optimizer
Twig_NodeVisitor_Optimizer tries to optimizes the AST.

Code

public function getPriority() {
  return 255;
}