src/Auth/AclRepository.php
public function getModulePermissions($key)
    {
        $this->prepareData();

        if ( ! array_key_exists($key, $this->modulePermissions)) {
            return [];
        }

        return $this->modulePermissions[$key];
    }
public function getModulePermissions($key)
    {
        $this->prepareData();

        if ( ! array_key_exists($key, $this->modulePermissions)) {
            return [];
        }

        return $this->modulePermissions[$key];
    }
public function getModulePermissions ( $ key ) { $ this -> prepareData ( ) ; if ( ! array_key_exists ( $ key , $ this -> modulePermissions ) ) { return [ ] ; } return $ this -> modulePermissions [ $ key ] ; }
Retrieves a flat list of all permissions for a module.

@param string $key
@return string[]
Retrieves a flat list of all permissions for a module .