GearmanClient::context

(PECL gearman >= 0.6.0)

GearmanClient::contextGet the application context

說明

public GearmanClient::context(): string

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

參數

此函數沒有參數。

返回值

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

參見