src/Services/TypiCMS.php
public function permissions()
    {
        $permissions = [];
        foreach (config('typicms.permissions') as $module => $perms) {
            $key = __(ucfirst($module));
            $permissions[$key] = $perms;
        }
        ksort($permissions, SORT_LOCALE_STRING);

        return $permissions;
    }
public function permissions()
    {
        $permissions = [];
        foreach (config('typicms.permissions') as $module => $perms) {
            $key = __(ucfirst($module));
            $permissions[$key] = $perms;
        }
        ksort($permissions, SORT_LOCALE_STRING);

        return $permissions;
    }
public function permissions ( ) { $ permissions = [ ] ; foreach ( config ( 'typicms.permissions' ) as $ module => $ perms ) { $ key = __ ( ucfirst ( $ module ) ) ; $ permissions [ $ key ] = $ perms ; } ksort ( $ permissions , SORT_LOCALE_STRING ) ; return $ permissions ; }
Get all permissions registered.

@return array
Get all permissions registered .