$name], $lineno, $tag); } /** * Compiles the node to PHP. * * @param Twig_Compiler $compiler A Twig_Compiler instance */ public function compile(Twig_Compiler $compiler) { $attrib = $this->getAttribute('name'); $includeExtras = strtolower(trim($attrib)) == 'extras'; $compiler ->addDebugInfo($this) ->write("echo ''.PHP_EOL;" . PHP_EOL) ; if ($includeExtras) { $compiler ->write("echo ''.PHP_EOL;" . PHP_EOL) ->write("echo ''.PHP_EOL;" . PHP_EOL) ; } } }