How to delete a bundle in Symfony 2

How to delete a bundle in Symfony 2

First of all, you need to remove the bundle folder. But this is not enough.

You need to remove related code in registerBundle() from 

/app/AppKernel.php

Also you need to delete some related route code from 

/app/config/routing.yml

 

blog tag: