- class
Shared(php\util\Shared) - package
std - source
php/util/Shared.php
Description
Class to work with shared memory of Environments
Class Shared
Shared ::value()- Get or create if does not exist and get a shared valueShared ::reset()- Removes the value by $name.Shared ::resetAll()- Removes the all shared memory values.
Shared::value(string $name, callable $creator): SharedValueGet or create if does not exist and get a shared value
Shared::reset(String $name): SharedValueRemoves the value by $name.
Shared::resetAll(): voidRemoves the all shared memory values.
__construct(): void