-
-
Notifications
You must be signed in to change notification settings - Fork 513
Consider removing filter/pluck filters #2010
Copy link
Copy link
Closed
Labels
Description
Twig recently introduced some useful array methods like column (since 2.8.0), filter, map and reduce (since 1.41/2.10.0).
https://github.com/twigphp/Twig/blob/2.x/CHANGELOG
https://twig.symfony.com/doc/2.x/filters/column.html
https://twig.symfony.com/doc/2.x/filters/filter.html
https://twig.symfony.com/doc/2.x/filters/map.html
https://twig.symfony.com/doc/2.x/filters/reduce.html
Timber has its own filters pluck and filter. The second one makes native Twig filter unusable.
This would probably introduce a BC break. But would you consider this for 2.0+?
Reactions are currently unavailable