if ($hasChild) { $this->
dumpLine($cursor->depth
);
} } /**
* @return void
*/
public function leaveHash(Cursor
$cursor, int
$type, string|int|null
$class, bool
$hasChild, int
$cut) { if (empty($cursor->attr
['cut_hash'
])) { $this->
dumpEllipsis($cursor,
$hasChild,
$cut);
$this->line .= Cursor::HASH_OBJECT ===
$type ? '}' :
(Cursor::HASH_RESOURCE !==
$type ? ']' :
($hasChild ? '}' : ''
));
} $this->
endValue($cursor);
} /**
* Dumps an ellipsis for cut children.
*
* @param bool $hasChild When the dump of the hash has child item
* @param int $cut The number of items the hash has been cut by
*
* @return void
*/