如何在symfony Flex中更改bundles.php文件名?

时间:2018-07-18 08:50:52

标签: symfony4 symfony-flex

我想更改bundle.php文件的名称,并配置flex以在执行composer req时将包添加到我的新文件中。有办法吗?

1 个答案:

答案 0 :(得分:0)

您不能,尽管可以在Kernel.php函数下更改registerBundles中包含的bundles php文件的名称。 flex composer插件将不会检测到它,因为文件名是在flex源代码enter image description here

中进行硬编码的