- 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): SharedValue
Get or create if does not exist and get a shared value
Shared::reset(String $name): SharedValue
Removes the value by $name.
Shared::resetAll(): void
Removes the all shared memory values.
__construct(): void