How do I get a list of bundles in symfony2/symfony3?

前端 未结 5 866
被撕碎了的回忆
被撕碎了的回忆 2021-02-02 12:14

I\'ve just started using symfony and I\'d like to get a list of bundles from a particular vendor, iterate through them and call a $bundle->renderSomething() function on each def

5条回答
  •  悲&欢浪女
    2021-02-02 12:34

    In console you can use php app/console container:debug --parameter=kernel.bundles

提交回复
热议问题