我刚刚尝试升级到 Symfony 5.0,但是,我收到以下错误:
You have requested a non-existent service "translator.selector".
在我的 services.yaml 代码中,我有
Symfony\Component\Translation\MessageSelector: '@translator.selector'
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Translation/CHANGELOG.md我看到它被删除了。我应该如何继续?提前致谢!