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
Параметры:
- $name –
string
- $creator –
callable
- returns init valueРезультат:
- static
reset
($name)¶Removes the value by $name.
Параметры:
- $name –
php\util\String
Результат: php\util\SharedValue removed value
- static
resetAll
¶