Revision 1cb3b2cd4fdc9859143e02845912063de2f87f56
Committed on 13/06/2025 12:13 pm by
Christophe Coevoet <stof@notk.org> [GitHub Diff]
Use a tagged iterator argument to configure the matcher
Letting Symfony process the collection of voters to build the
`IteratorArgument` in the definition gives us all the features available
in recent Symfony versions, while our own processing logic was not
implementing them. For instance, this gives us support for the
`[AsTaggedItem]` attribute as a way to specify the priority of the
voter, which is great when using autoconfiguration.