PHP - Manual: GearmanClient::setContext
2024-12-22
(PECL gearman >= 0.6.0)
GearmanClient::setContext — Set application context
$context
): boolSets an arbitrary string to provide application context that can later be retrieved by GearmanClient::context().
context
Arbitrary context data
Always returns true
.
官方地址:https://www.php.net/manual/en/gearmanclient.setcontext.php