mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 05:16:30 +00:00
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
-------
a26f43a6a6 Update templates.rst: Removing duplication
This commit is contained in:
@@ -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
|
||||
``()``.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user