Skip to content

Latest commit

 

History

History
86 lines (59 loc) · 1.34 KB

SharedValue.md

File metadata and controls

86 lines (59 loc) · 1.34 KB

SharedValue

  • class SharedValue (php\util\SharedValue) extends SharedMemory
  • package std
  • source php/util/SharedValue.php

Description

Class SharedValue


Methods


Methods

__construct()

__construct(mixed $value): void

get()

get(): mixed

set()

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

remove()

remove(): mixed

isEmpty()

isEmpty(): bool

getAndSet()

getAndSet(callable $updateCallback): mixed

setAndGet()

setAndGet(callable $updateCallback): mixed