mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 03:57:21 +00:00
Update the documentation for newly added features
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
=======
|
||||
|
||||
.. versionadded:: 1.41
|
||||
The ``map`` filter was added in Twig 1.41.
|
||||
The ``map`` filter was added in Twig 1.41 and 2.10.
|
||||
|
||||
The ``map`` filter applies an arrow function to the elements of a sequence or a
|
||||
mapping. The arrow function receives the value of the sequence or mapping:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
=========
|
||||
|
||||
.. versionadded:: 1.41
|
||||
The ``reduce`` filter was added in Twig 1.41.
|
||||
The ``reduce`` filter was added in Twig 1.41 and 2.10.
|
||||
|
||||
The ``reduce`` filter iteratively reduces a sequence or a mapping to a single
|
||||
value using an arrow function, so as to reduce it to a single value. The arrow
|
||||
|
||||
Reference in New Issue
Block a user