我的问题是如何删除我创建的bundle?
您可以使用此控制台命令创建bundle:
php app/console generate:bundle --namespace=Test/BlogBundle --format=yml
这很棒,但如果我需要删除这个bundle该怎么办呢? 是否有控制台命令可以删除我不再需要的bundle?
我知道当你从控制台创建新的bundle时:
1. create /src/Test/BlogBundle directory
2. change /app/config/routing.yml file to include routes
3. include your new bundle in /app/Resources/App.Kernel.php
4. I think there is something changed in /app/cache/...
现在,完全删除一个捆绑包的正确方法是什么?
问题在于,使用控制台生成这些捆绑包是一种“神奇”的方式,因此我不知道这个命令在文件夹结构和文件方面做了什么更改。