mini\Util\IdentityMap::forgetObject() Method

public

Signature

public function forgetObject(object $obj): void

Parameters

Name Type Default Description
$obj object required Documentation missing

Returns

void

Documentation

Remove an object from the map by the object itself

Removes the mapping for the given object. Useful when you have the object but not its identifier.

Source

src/Util/IdentityMap.php:194-198