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'])
        );
    }
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'])
        );
    }
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' ] ) ) ; }
Return a description for the given enum type.

@param string $domain - Domain of the enum e.g. issue
@param string $type   - Type to validate (e.g. filter ,state, etc)

@return string
Return a description for the given enum type .