mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 12:06:56 +00:00
Add information for when filter filter was added in 2.x branch
The current "versionadded" info can be confusing to developers, if they assume 2.9 > 1.41 and don't know that 1.x and 2.x branches are still developed simultaneously.
This commit is contained in:
committed by
Fabien Potencier
parent
571929f263
commit
a05da6dbbe
@@ -2,7 +2,7 @@
|
||||
=========
|
||||
|
||||
.. versionadded:: 1.41
|
||||
The ``filter`` filter was added in Twig 1.41.
|
||||
The ``filter`` filter was added in Twig 1.41 and 2.10, if you're on 2.x.
|
||||
|
||||
The ``filter`` filter filters elements of a sequence or a mapping using an arrow
|
||||
function. The arrow function receives the value of the sequence or mapping:
|
||||
|
||||
Reference in New Issue
Block a user