In symfony2, I have a CMS bundle that requires that KnpMenuBundle be loaded. Is there a way to have the CMS bundle automatically load the menu bundle?
Or do I need to always but the menu bundle into AppKernel manually when I install the CMS bundle?
Putting it in appKernal is doing exactly what you want. Learn about lazy loading and dependency injection. In order to utilize a bundle, it needs to be in appKernal
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.