/** * Unregister a provider bundle with persistence. * * @param ProviderBundle $bundle */ public function unregisterProviderBundle(ProviderBundle $bundle) { $this->storage->unregisterProviderByArea($bundle->getArea()); $this->reload(); }