Checks if a (jarves) bundle is activated.
public isActiveBundle ( string $bundleName ) : boolean | ||
$bundleName | string | |
Результат | boolean |
/** * @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); } } }