src/Debug/Output/HtmlObject.php
protected function dumpMethodParams($params)
    {
        $paramStr = '';
        foreach ($params as $info) {
            $paramStr .= '<span class="parameter">';
            if (!empty($info['type'])) {
                $paramStr .= '<span class="t_type">'.$info['type'].'</span> ';
            }
            $paramStr .= '<span class="t_parameter-name"'
                .' title="'.\htmlspecialchars($info['desc']).'"'
                .'>'.\htmlspecialchars($info['name']).'</span>';
            if ($info['defaultValue'] !== $this->debug->abstracter->UNDEFINED) {
                $defaultValue = $info['defaultValue'];
                $paramStr .= ' <span class="t_operator">=</span> ';
                if ($info['constantName']) {
                    /*
                        only php >= 5.4.6 supports this...
                        or via @method phpDoc

                        show the constant name / hover for value
                    */
                    $title = '';
                    $type = $this->debug->abstracter->getType($defaultValue);
                    if (!\in_array($type, array('array','resource'))) {
                        $title = $this->debug->output->text->dump($defaultValue);
                        $title = \htmlspecialchars('value: '.$title);
                    }
                    $paramStr .= '<span class="t_parameter-default t_const"'
                        .' title="'.$title.'"'
                        .'>'.$info['constantName'].'</span>';
                } else {
                    /*
                        The constant's value is shown
                    */
                    if (\is_string($defaultValue)) {
                        $defaultValue = \str_replace("\n", ' ', $defaultValue);
                    }
                    $parsed = $this->debug->utilities->parseTag($this->debug->output->html->dump($defaultValue));
                    $class = \trim('t_parameter-default '.$parsed['attribs']['class']);
                    $paramStr .= '<span class="'.$class.'">'.$parsed['innerhtml'].'</span>';
                }
            }
            $paramStr .= '</span>, '; // end .parameter
        }
        $paramStr = \trim($paramStr, ', ');
        return $paramStr;
    }
protected function dumpMethodParams($params)
    {
        $paramStr = '';
        foreach ($params as $info) {
            $paramStr .= '<span class="parameter">';
            if (!empty($info['type'])) {
                $paramStr .= '<span class="t_type">'.$info['type'].'</span> ';
            }
            $paramStr .= '<span class="t_parameter-name"'
                .' title="'.\htmlspecialchars($info['desc']).'"'
                .'>'.\htmlspecialchars($info['name']).'</span>';
            if ($info['defaultValue'] !== $this->debug->abstracter->UNDEFINED) {
                $defaultValue = $info['defaultValue'];
                $paramStr .= ' <span class="t_operator">=</span> ';
                if ($info['constantName']) {
                    /*
                        only php >= 5.4.6 supports this...
                        or via @method phpDoc

                        show the constant name / hover for value
                    */
                    $title = '';
                    $type = $this->debug->abstracter->getType($defaultValue);
                    if (!\in_array($type, array('array','resource'))) {
                        $title = $this->debug->output->text->dump($defaultValue);
                        $title = \htmlspecialchars('value: '.$title);
                    }
                    $paramStr .= '<span class="t_parameter-default t_const"'
                        .' title="'.$title.'"'
                        .'>'.$info['constantName'].'</span>';
                } else {
                    /*
                        The constant's value is shown
                    */
                    if (\is_string($defaultValue)) {
                        $defaultValue = \str_replace("\n", ' ', $defaultValue);
                    }
                    $parsed = $this->debug->utilities->parseTag($this->debug->output->html->dump($defaultValue));
                    $class = \trim('t_parameter-default '.$parsed['attribs']['class']);
                    $paramStr .= '<span class="'.$class.'">'.$parsed['innerhtml'].'</span>';
                }
            }
            $paramStr .= '</span>, '; // end .parameter
        }
        $paramStr = \trim($paramStr, ', ');
        return $paramStr;
    }
Dump method parameters as HTML

@param array $params params as returned from getParams()

@return string html