You are here

public function Twig_Template::getBlocks in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Template.php \Twig_Template::getBlocks()

Returns all blocks.

This method is for internal use only and should never be called directly.

Return value

array An array of blocks

See also

hasBlock

File

vendor/Twig/Template.php, line 243

Class

Twig_Template
Default base class for compiled templates.

Code

public function getBlocks() {
  return $this->blocks;
}