GearmanClient
PHP Manual

GearmanClient::context

(PECL gearman >= 0.6.0)

GearmanClient::contextGet the application context

说明

public string GearmanClient::context ( void )

Get the application context previously set with GearmanClient::setContext().

参数

此函数没有参数。

返回值

The same context data structure set with GearmanClient::setContext()

参见


GearmanClient
PHP Manual