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