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().

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

參見