[英]Symfony - Console - Enable bundle
Is there any console command to enable an existing bundle ? 是否有任何控制台命令来启用现有捆绑软件?
I'm searching for a command to prevent the user to open himself the appkernel.php file and add the line. 我正在搜索一个命令, 以防止用户打开自己的appkernel.php文件并添加该行。
There is no official command to do that, but i saw a topic where a guy created one for this purpose. 没有官方命令执行此操作,但是我看到一个主题,一个人为此目的创建了一个主题。 May be you could try it : 也许您可以尝试一下:
Is there a way to update automatically the AppKernel in symfony2? 有没有办法在symfony2中自动更新AppKernel?
Moreover, there is a github discussion on this subject : 此外,关于此主题还有github讨论:
https://github.com/symfony/symfony/issues/6082 https://github.com/symfony/symfony/issues/6082
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.