WeakMap::offsetUnset

(PHP 8)

WeakMap::offsetUnsetRemoves an entry from the map

Description

public WeakMap::offsetUnset(object $object): void

Removes an entry from the map.

Parameters

object

The key object to remove from the map.

Return Values

No value is returned.