コード例 #1
0
ファイル: HtmlDumper.php プロジェクト: richlove1/avc-october
 /**
  * {@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);
 }
コード例 #2
0
ファイル: HtmlDumper.php プロジェクト: vomasmic/symfony
 /**
  * {@inheritdoc}
  */
 protected function leaveHash(Cursor $cursor, $suffix, $hasChild, $cut)
 {
     if ($hasChild) {
         $suffix = '</span>' . $suffix;
     }
     return parent::leaveHash($cursor, $suffix, $hasChild, $cut);
 }