if ($hasChild) { $this->line .= '<samp data-depth='.
($cursor->depth + 1
);
if ($cursor->refIndex
) { $r = Cursor::HASH_OBJECT !==
$type ? 1 -
(Cursor::HASH_RESOURCE !==
$type) : 2;
$r .=
$r && 0 <
$cursor->softRefHandle ?
$cursor->softRefHandle :
$cursor->refIndex;
$this->line .=
sprintf(' id=%s-ref%s',
$this->dumpId,
$r);
} $this->line .=
$eol;
$this->
dumpLine($cursor->depth
);
} } /**
* @return void
*/
public function leaveHash(Cursor
$cursor, int
$type, string|int|null
$class, bool
$hasChild, int
$cut) { $this->
dumpEllipsis($cursor,
$hasChild,
$cut);
if ($hasChild) { $this->line .= '</samp>';
}