• Fabien Potencier's avatar
    feature #43386 [DependencyInjection] Extend TaggedIterator and TaggedLocator... · 593465dc
    Fabien Potencier authored
    feature #43386 [DependencyInjection] Extend TaggedIterator and TaggedLocator Attributes with able to specify defaultIndexMethod for #[TaggerIterator] and #[TaggedLocator] (fractalzombie)
    
    This PR was merged into the 5.4 branch.
    
    Discussion
    ----------
    
    [DependencyInjection] Extend TaggedIterator and TaggedLocator Attributes with able to specify defaultIndexMethod for #[TaggerIterator] and #[TaggedLocator]
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 5.4
    | Bugfix?      | no
    | New feature?  | yes (updated)
    | Deprecations? | no
    | Tickets       | no ticket, the only contribution for fun and enjoy
    | License       | MIT
    | Doc PR        | no, it's not a new feature, this we can do through YAML, but not through new PHP attributes, now we can do it through attributes.
    
    Just extended one attribute that do not break compatibility, is optional and null.
    The feature only allows you to do almost the same as in YAML files, the configuration specifying defaultIndexMethod for:
    
    ```
    -  \ Symfony \ Component \...
    593465dc
To find the state of this project's repository at the time of any of these versions, check out the tags.