public static function getValue($member)
    {
        // Typecast to string (we could be getting either a string or an instance of
        // Enumeration in $member)
        $member = (string)$member;
        if (! static::isDefined($member)) {
            static::triggerUndefinedConstantError($member);
        }

        return static::toArray()[$member];
    }