Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据http://fabien.potencier.org/symfony4-best-practices.html,文件没有/有限的用例config.yml。我应该把easy_admin它用 symfony 4 管理的实体的配置放在哪里?
config.yml
easy_admin
您必须在中配置 EasyAdminBundleconfig/packages/easy_admin.yaml
config/packages/easy_admin.yaml
它将由内核自动处理。你可以看看src/Kernel.php,尤其是configureContainer()方法
src/Kernel.php
configureContainer()