-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DependencyInjection] Resolve container parameter used in index attribute of service tags #54664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/Symfony/Component/DependencyInjection/Compiler/PriorityTaggedServiceTrait.php
Outdated
Show resolved
Hide resolved
c3653e4
to
2015fb5
Compare
Sorry guys, forgot about this PR and synced the fork... I didn't mean to request your review |
@BreyndotEchse that's why you should better use dedicated branches for PRs rather than working directly in your forked branch (btw, this also allows having multiple PRs opened) |
src/Symfony/Component/DependencyInjection/Compiler/PriorityTaggedServiceTrait.php
Outdated
Show resolved
Hide resolved
If one used environment variable parameter in the tag, would it be resolved build-time or runtime? edit: must be build-time since tags don't exist runtime |
…bute of service tags
Thank you @BreyndotEchse. |
Resolve tags' index attribute to allow the use of container parameters.
YAML config example:
XML config example: