mini\Util\IdentityMap::forgetById() Method

public

Signature

public function forgetById(string|int $id): void

Parameters

Name Type Default Description
$id string|int required Documentation missing

Returns

void

Documentation

Remove an object from the map by its identifier

Removes the mapping for the given identifier. The object itself is not affected and will be garbage collected normally when no external references remain.

Source

src/Util/IdentityMap.php:171-174