Closed TheCelavi closed 3 months ago
even better would be to support an iterable in the constructor without iterating it there, to benefit from the lazy-loading feature of the IteratorArgument in Symfony (when using tagged_iterator
)
Looks like good ideas. @TheCelavi Do you want to work on a PR?
Why not - it has been a long time... 😃
Thx guys, sending PR soon.
Proposal - Instead of current constructor:
replace it with:
No BC break, allows to use
tagged_iterator
in SF autowiring for creating our own Twig environment (beside templating delivered with SF app by default).WDYT?