Searched refs:useBlocks (Results 1 – 1 of 1) sorted by relevance
| /template/twigstarter/vendor/twig/twig/src/ |
| D | Template.php | 142 * @param bool $useBlocks Whether to use the current set of blocks 144 …public function displayBlock($name, array $context, array $blocks = [], $useBlocks = true, ?self $… argument 146 … foreach ($this->yieldBlock($name, $context, $blocks, $useBlocks, $templateContext) as $data) { 193 * @param bool $useBlocks Whether to use the current set of blocks 197 … public function renderBlock($name, array $context, array $blocks = [], $useBlocks = true): string argument 207 $this->displayBlock($name, $context, $blocks, $useBlocks); 220 foreach ($this->yieldBlock($name, $context, $blocks, $useBlocks) as $data) { 435 …public function yieldBlock($name, array $context, array $blocks = [], $useBlocks = true, ?self $te… argument 437 if ($useBlocks && isset($blocks[$name])) {
|