Jarves\Controller\Admin\BundleManager\ManagerController::searchAndUninstallBundlesAction PHP Method

searchAndUninstallBundlesAction() protected method

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