} /**
* @return void
*/
public function enterHash(Cursor
$cursor, int
$type, string|int|null
$class, bool
$hasChild) { if (Cursor::HASH_OBJECT ===
$type) { $cursor->attr
['depth'
] =
$cursor->depth;
} parent::
enterHash($cursor,
$type,
$class, false
);
if ($cursor->skipChildren ||
$cursor->depth >=
$this->displayOptions
['maxDepth'
]) { $cursor->skipChildren = false;
$eol = ' class=sf-dump-compact>';
} else { $this->expandNextHash = false;
$eol = ' class=sf-dump-expanded>';
} if ($hasChild) { $this->line .= '<samp data-depth='.
($cursor->depth + 1
);