- class
SharedMap(php\util\SharedMap) extendsSharedCollection - package
std - source
php/util/SharedMap.php
Description
Class SharedMap
->__construct()->get()->getOrCreate()->has()->count()->set()->remove()->clear()- Remove all items.->isEmpty()- See also in the parent class SharedCollection
__construct(array|Traversable $array): voidget(string $key, mixed $default): mixedgetOrCreate(string $key, callable $createCallback): mixedhas(string $key): boolcount(): intset(string $key, mixed $value, bool $override): mixedremove(string $key): mixedclear(): voidRemove all items.
isEmpty(): bool