public static function formatEnum($domain, $type)
    {
        self::validateEnumDomainAndType($domain, $type);

        return sprintf(
            '%s (One of <comment>%s</comment>)',
            self::$enum[$domain][$type]['desc'],
            implode('</comment>, <comment>', self::$enum[$domain][$type]['values'])
        );
    }