public function getGroupPermissions($groupName)
    {
        if (!isset($this->config[$groupName])) {
            return [];
        }

        return array_keys($this->config[$groupName]['permissions']);
    }
public function getGroupPermissions($groupName)
    {
        if (!isset($this->config[$groupName])) {
            return [];
        }

        return array_keys($this->config[$groupName]['permissions']);
    }
public function getGroupPermissions ( $ groupName ) { if ( ! isset ( $ this -> config [ $ groupName ] ) ) { return [ ] ; } return array_keys ( $ this -> config [ $ groupName ] [ 'permissions' ] ) ; }
Get list of all permissions given to a group.

@param string $groupName

@return string[]
Get list of all permissions given to a group .