-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle][Routing] deprecation error when decorating routing.loader #24886
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
Comments
@kbond which beta is that? |
|
closing here as this is indeed not a bug as @ogizanagi explained |
Well, the simpler solution for the UmpirskyI18nRoutingBundle would be to use the service decoration feature of Symfony, which is available since Symfony 2.5, instead of duplicating it. |
Thanks everyone, service decoration solved my issue. |
When decorating
routing.loader
in a compiler pass I get the following deprecation error when the container is built:I can't figure out why this is happening.
Reference: umpirsky/UmpirskyI18nRoutingBundle#17
CompilerPass: https://github.com/umpirsky/UmpirskyI18nRoutingBundle/blob/a69bd4dcc901c3459aba20f8e586613a5758d05b/src/DependencyInjection/Compiler/OverrideRoutingCompilerPass.php
The text was updated successfully, but these errors were encountered: