public function Twig_Parser::addHandler in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Parser.php \Twig_Parser::addHandler()
File
- vendor/
Twig/ Parser.php, line 200
Class
- Twig_Parser
- Default parser implementation.
Code
public function addHandler($name, $class) {
$this->handlers[$name] = $class;
}