public static function isSeparator($string, $mimeField)
    {
        $separatorList = array(
            self::VARIANT_SEPARATOR,
            self::PARAMS_SEPARATOR,
            self::PARAMS_KV_SEPARATOR
        );

        return in_array($string, $separatorList) || ($mimeField && Tokens::MIME_SEPARATOR === $string);
    }
public static function isSeparator($string, $mimeField)
    {
        $separatorList = array(
            self::VARIANT_SEPARATOR,
            self::PARAMS_SEPARATOR,
            self::PARAMS_KV_SEPARATOR
        );

        return in_array($string, $separatorList) || ($mimeField && Tokens::MIME_SEPARATOR === $string);
    }
public static function isSeparator ( $ string , $ mimeField ) { $ separatorList = array ( self :: VARIANT_SEPARATOR , self :: PARAMS_SEPARATOR , self :: PARAMS_KV_SEPARATOR ) ; return in_array ( $ string , $ separatorList ) || ( $ mimeField && Tokens :: MIME_SEPARATOR === $ string ) ; }
Return true if the provided string is one of the separator tokens defined in this class.

@param string $string
@param bool $mimeField

@return bool
Return true if the provided string is one of the separator tokens defined in this class .