*/ class BlockReferenceNode extends Node implements NodeOutputInterface { public function __construct($name, $lineno, $tag = null) { parent::__construct([], ['name' => $name], $lineno, $tag); } public function compile(Compiler $compiler) { $compiler ->addDebugInfo($this) ->write(sprintf("\$this->displayBlock('%s', \$context, \$blocks);\n", $this->getAttribute('name'))) ; } } class_alias('Twig\Node\BlockReferenceNode', 'Twig_Node_BlockReference');