Skip to content

Commit 7dca48a

Browse files
committed
minor #4645 Update templates.rst: Removing duplication (ThomasLandauer)
This PR was merged into the 3.x branch. Discussion ---------- 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. Commits ------- a26f43a Update templates.rst: Removing duplication
2 parents 5f2b1ee + a26f43a commit 7dca48a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

doc/templates.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -871,9 +871,6 @@ The following operators don't fit into any of the other categories:
871871
872872
{{ user.name }}
873873
874-
Twig supports a specific syntax via the ``[]`` operator for accessing items
875-
on sequences and mappings, like in ``user['name']``:
876-
877874
After the ``.``, you can use any expression by wrapping it with parenthesis
878875
``()``.
879876

0 commit comments

Comments
 (0)