Update templates.rst: Removing duplication

Page: https://twig.symfony.com/doc/3.x/templates.html#dot_operator

Reason: This is repeated a few lines further down.
This commit is contained in:
Thomas Landauer
2025-06-05 23:22:30 +02:00
committed by GitHub
parent 5f2b1ee6de
commit a26f43a6a6
-3
View File
@@ -871,9 +871,6 @@ The following operators don't fit into any of the other categories:
{{ user.name }}
Twig supports a specific syntax via the ``[]`` operator for accessing items
on sequences and mappings, like in ``user['name']``:
After the ``.``, you can use any expression by wrapping it with parenthesis
``()``.