Beispiel #1
0
 /**
  * @throws \Exception
  */
 public function installAclResources()
 {
     foreach ($this->vendor->getVendors() as $vendor) {
         foreach (Filesystem::scandir($this->appPath->getModulesDir() . $vendor . '/') as $module) {
             if ($this->installHelper->installResources($module, $this->container) === false) {
                 throw new \Exception("Error while installing ACL resources for the module {$module}.");
             }
         }
     }
 }