code: public function markupClassname($str, $tagName = 'span', $attribs = array())
      {
          if (\preg_match('/^(.+)(::|->)(.+)$/', $str, $matches)) {
              $classname = $matches[1];
              $opMethod = '<span class="t_operator">'.\htmlspecialchars($matches[2]).'</span>'
                      . '<span class="method-name">'.$matches[3].'</span>';
          } else {
              $classname = $str;
              $opMethod = '';
          }
          $idx = \strrpos($classname, '\\');
          if ($idx) {
              $classname = '<span class="namespace">'.\substr($classname, 0, $idx + 1).'</span>'
                  . \substr($classname, $idx + 1);
          }
          $attribs = \array_merge(array(
              'class' => 't_classname',
          ), $attribs);
          return $this->debug->utilities->buildTag($tagName, $attribs, $classname)
              .$opMethod;
      }
docs: Wrap classname in span.t_classname
  if namespaced'd additionally wrap namespace in span.namespace
  If callable, also wrap .t_operator and .t_method-name
  
  @param string $str     classname or classname(::|->)methodname
  @param string $tagName ("span") html tag to use
  @param array  $attribs additional html attributes
  
  @return string