Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 1.12 KB

Shared.ru.md

File metadata and controls

66 lines (44 loc) · 1.12 KB

Shared

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

Описание

Class to work with shared memory of Environments

Class Shared


Статичные Методы

  • Shared ::value() - Get or create if does not exist and get a shared value
  • Shared ::reset() - Removes the value by $name.
  • Shared ::resetAll() - Removes the all shared memory values.

Методы


Статичные Методы

value()

Shared::value(string $name, callable $creator): SharedValue

Get or create if does not exist and get a shared value


reset()

Shared::reset(String $name): SharedValue

Removes the value by $name.


resetAll()

Shared::resetAll(): void

Removes the all shared memory values.


Методы

__construct()

__construct(): void