PHP 8.4.1 Released!

GearmanClient::setContext

(PECL gearman >= 0.6.0)

GearmanClient::setContextSet application context

说明

public GearmanClient::setContext(string $data): bool

Sets an arbitrary string to provide application context that can later be retrieved by GearmanClient::context().

参数

data

Arbitrary context data

返回值

Always returns true.

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top