public function Twig_Parser::addNodeVisitor in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/Parser.php \Twig_Parser::addNodeVisitor()
File
- vendor/
twig/ twig/ lib/ Twig/ Parser.php, line 205
Class
- Twig_Parser
- Default parser implementation.
Code
public function addNodeVisitor(Twig_NodeVisitorInterface $visitor) {
$this->visitors[] = $visitor;
}