Skip to content

Files

Latest commit

614e444 · May 1, 2018

History

History
107 lines (74 loc) · 1.72 KB

SharedMap.ru.md

File metadata and controls

107 lines (74 loc) · 1.72 KB

SharedMap

  • класс SharedMap (php\util\SharedMap) унаследован от SharedCollection
  • пакет std
  • исходники php/util/SharedMap.php

Описание

Class SharedMap


Методы


Методы

__construct()

__construct(array|Traversable $array): void

get()

get(string $key, mixed $default): mixed

getOrCreate()

getOrCreate(string $key, callable $createCallback): mixed

has()

has(string $key): bool

count()

count(): int

set()

set(string $key, mixed $value, bool $override): mixed

remove()

remove(string $key): mixed

clear()

clear(): void

Remove all items.


isEmpty()

isEmpty(): bool