Skip to content

Commit 79e0ca0

Browse files
committed
Fixed XML syntax too
1 parent 318466c commit 79e0ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templating/global_variables.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ the ``@`` character, which is the usual syntax to
9292
9393
<twig:config>
9494
<!-- ... -->
95-
<twig:global key="uuid">@App\Generator\UuidGenerator</twig:global>
95+
<twig:global key="foo" id="App\Generator\UuidGenerator" type="service"/>
9696
</twig:config>
9797
</container>
9898

0 commit comments

Comments
 (0)