我在Symfony 5中创建了一个捆绑包的基本示例。我得到了这个错误: "Mine\MyBundle\Controller\LuckyController" has no container set, did you forget to define it as a service subscriber? 您可以在github存储库找到代码:https://github.com/karimmtl/Mysymfony5 似乎我还是遗漏了一些东西。以下是我的config/bundles.php内容: <?php
Symfony\Bundle\Fr