- 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): void
get(string $key, mixed $default): mixed
getOrCreate(string $key, callable $createCallback): mixed
has(string $key): bool
count(): int
set(string $key, mixed $value, bool $override): mixed
remove(string $key): mixed
clear(): void
Remove all items.
isEmpty(): bool