You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature symfony#57685 [ExpressionLanguage] Allow passing any iterable as $providers list (HypeMC)
This PR was merged into the 7.2 branch.
Discussion
----------
[ExpressionLanguage] Allow passing any iterable as `$providers` list
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | -
| License | MIT
This would make it possible to register expression function providers using tagged iterators:
```yaml
my.expression_lang:
class: Symfony\Component\ExpressionLanguage\ExpressionLanguage
arguments:
$providers: !tagged_iterator my.tag
```
Commits
-------
ac02d33 [ExpressionLanguage] Allow passing any iterable as `$providers` list
0 commit comments