isActiveBundle() public method

Checks if a (jarves) bundle is activated.
public isActiveBundle ( string $bundleName ) : boolean
$bundleName string
return boolean
Ejemplo n.º 1
0
 /**
  * @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);
         }
     }
 }