$context
$context : array
上下文数据
exists(integer|null $fd = null) : boolean
判断当前连接上下文是否存在
integer|null | $fd |
None found |
get(string $name, mixed $default = null, integer|null $fd = null) : mixed
获取上下文数据
string | $name | |
mixed | $default | |
integer|null | $fd |
None found |
set(string $name, mixed $value, integer|null $fd = null) : void
设置上下文数据
string | $name | |
mixed | $value | |
integer|null | $fd |
None found |
getContext(integer|null $fd = null) : array
获取当前上下文
integer|null | $fd |
None found |
None found |
None found |
None found |