/** * @param string $path * @param bool $removeFiles */ protected function searchAndUninstallBundlesAction($path, $removeFiles = false) { $bundles = $this->getBundlesFromPath($path); foreach ($bundles as $bundle) { if ($this->jarves->isActiveBundle($bundle)) { $this->uninstallAction($bundle, $removeFiles, true); } } }