public static function groupNames()
    {
        $groups = [];

        foreach(static::groups() as $groupname => $group) {
            $groups[$groupname] = $group['readableName'] ?? $groupname;
        }

        return $groups;
    }
public static function groupNames()
    {
        $groups = [];

        foreach(static::groups() as $groupname => $group) {
            $groups[$groupname] = $group['readableName'] ?? $groupname;
        }

        return $groups;
    }
public static function groupNames ( ) { $ groups = [ ] ; foreach ( static :: groups ( ) as $ groupname => $ group ) { $ groups [ $ groupname ] = $ group [ 'readableName' ] ?? $ groupname ; } return $ groups ; }
Get the groups list

@return array
Get the groups list