Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 public function leaveHash(Cursor $cursor, $type, $class, $hasChild, $cut)
 {
     $this->dumpEllipsis($cursor, $hasChild, $cut);
     if ($hasChild) {
         $this->line .= '</samp>';
     }
     parent::leaveHash($cursor, $type, $class, $hasChild, 0);
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 protected function leaveHash(Cursor $cursor, $suffix, $hasChild, $cut)
 {
     if ($hasChild) {
         $suffix = '</span>' . $suffix;
     }
     return parent::leaveHash($cursor, $suffix, $hasChild, $cut);
 }