mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-03 10:27:22 +00:00
Use the current variable node class in the node tree example
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ Here is the output for the ``Hello {{ name }}`` template:
|
||||
\Twig\Node\ModuleNode(
|
||||
\Twig\Node\TextNode(Hello )
|
||||
\Twig\Node\PrintNode(
|
||||
\Twig\Node\Expression\NameExpression(name)
|
||||
\Twig\Node\Expression\Variable\ContextVariable(name)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user