FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

jphp/jphp-runtime/api-docs/classes/php/util/Shared.md at master · jphp-group/jphp · GitHub

Latest commit

 

History

History
66 lines (44 loc) · 1.06 KB

File metadata and controls

66 lines (44 loc) · 1.06 KB

Shared

  • class Shared (php\util\Shared)
  • package std
  • source php/util/Shared.php

Description

Class to work with shared memory of Environments

Class Shared


Static Methods

  • 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.

Methods


Static Methods

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.


Methods

__construct()

__construct(): void

Back | FazBrowse Home | New Git URL