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