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