public static function load($groupname)
    {
        $groups = self::groups();

        $content = $groups[$groupname] ?? [];
        $content += ['groupname' => $groupname];

        $blueprints = new Blueprints();
        $blueprint = $blueprints->get('user/group');

        return new Group($content, $blueprint);
    }
public static function load($groupname)
    {
        $groups = self::groups();

        $content = $groups[$groupname] ?? [];
        $content += ['groupname' => $groupname];

        $blueprints = new Blueprints();
        $blueprint = $blueprints->get('user/group');

        return new Group($content, $blueprint);
    }
public static function load ( $ groupname ) { $ groups = self :: groups ( ) ; $ content = $ groups [ $ groupname ] ?? [ ] ; $ content += [ 'groupname' => $ groupname ] ; $ blueprints = new Blueprints ( ) ; $ blueprint = $ blueprints -> get ( 'user/group' ) ; return new Group ( $ content , $ blueprint ) ; }
Get a group by name

@param string $groupname

@return object
Get a group by name