public function setBlock($name, $value) { $this->blocks[$name] = new Twig_Node_Body(array( $value, ), array(), $value ->getLine()); }