public function Twig_Template::getBlocks in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Template.php \Twig_Template::getBlocks()
Returns all blocks.
This method is for internal use only and should never be called directly.
@internal
Return value
array An array of blocks
See also
hasBlock
File
- vendor/
twig/ twig/ lib/ Twig/ Template.php, line 318
Class
- Twig_Template
- Default base class for compiled templates.
Code
public function getBlocks() {
return $this->blocks;
}