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
Currently Sulu reimplements the Symfony DI tagged_iterator functionality for many services. While this is a good idea if you want to have custom logic, this makes no sense in this case. Affected services would be:
Would nice if you can extend the issue with a list of services and its releated tags were the Tagged_iterator make sense to discuss if we go with constructor injections or calling the add method.
Problem description
Currently Sulu reimplements the Symfony DI
tagged_iterator
functionality for many services. While this is a good idea if you want to have custom logic, this makes no sense in this case. Affected services would be:tagged_iterator
#7424)tagged_iterator
s for the markup listener #7403)tagged_iterator
for RuleCollections #7405)Proposed solution
Use the constructor and call the function from there or make it immutable. So that you can't add services dynamically.
Future ideas
Maybe in the future we could replace this tagging logic with attributes like this:
The text was updated successfully, but these errors were encountered: