Open deguif opened 6 years ago
Hi @deguif thanks for the patch! However, as you said, this is a BC change (not sure how many people use a custom I18nRouter though) and I'd like not to merge it unless is solving some kind of bug.
I just updated the code to remove the BC change related to I18nLoader injection, this will remains as before.
This PR removes compatibility with Symfony 2 in Router class. I also update the code to be more Symfony 4.
Breaking change is that now the I18nLoader service is injected instead of the id.