Providers/CoreServiceProvider.php
private function registerModulePermissions()
    {
        foreach ($this->app['modules']->enabled() as $module) {
            if ($this->app['society.isInstalled']) {
                $permissionManager = new PermissionManager();
                $permissionManager->registerDefault($module);
            }
        }
    }
private function registerModulePermissions()
    {
        foreach ($this->app['modules']->enabled() as $module) {
            if ($this->app['society.isInstalled']) {
                $permissionManager = new PermissionManager();
                $permissionManager->registerDefault($module);
            }
        }
    }
private function registerModulePermissions ( ) { foreach ( $ this -> app [ 'modules' ] -> enabled ( ) as $ module ) { if ( $ this -> app [ 'society.isInstalled' ] ) { $ permissionManager = new PermissionManager ( ) ; $ permissionManager -> registerDefault ( $ module ) ; } } }
Register the modules dependencies.
Register the modules dependencies .