sonata-project/SonataAdminBundle — pull request #942 by pulzarraider (2012-08-18 12:14:15+00:00)
Title: Route collection: new methods - removeAll and removeAllExcept

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Fixes the following tickets: -
Todo: -
License of the code: MIT

These methods may be used to remove all unneeded routes at once.

It has also safety impact: these methods should be used to safely remove all uneeded and properly untested routes that will be added in new version of Sonata.