Shared¶
-
php\util\Shared
Class to work with shared memory of Environments
Class Shared
Methods
__construct
()¶private
- static
value
($name, $creator = null)¶Get or create if does not exist and get a shared value
Parameters:
- $name – string
- $creator – callable - returns init value
Returns:
- static
reset
($name)¶Removes the value by $name.
Parameters:
- $name – php\util\String
Returns: php\util\SharedValue removed value
- static
resetAll
¶