public static function getGuestGroup()
    {
        if (self::$guestGroup !== null) {
            return self::$guestGroup;
        }

        $group = self::where('code', self::GROUP_GUEST)->first() ?: false;

        return self::$guestGroup = $group;
    }
public static function getGuestGroup()
    {
        if (self::$guestGroup !== null) {
            return self::$guestGroup;
        }

        $group = self::where('code', self::GROUP_GUEST)->first() ?: false;

        return self::$guestGroup = $group;
    }
public static function getGuestGroup ( ) { if ( self :: $ guestGroup !== null ) { return self :: $ guestGroup ; } $ group = self :: where ( 'code' , self :: GROUP_GUEST ) -> first ( ) ? : false ; return self :: $ guestGroup = $ group ; }
Returns the guest user group.
@return RainLab\User\Models\UserGroup
Returns the guest user group .