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