GearmanClient::data

(PECL gearman <= 0.5.0)

GearmanClient::dataGet the application data (deprecated)

說明

public GearmanClient::data(): string

Get the application data previously set with GearmanClient::setData().

注意:

This method was replaced by GearmanClient::setContext() in the 0.6.0 release of the Gearman extension.

參數(shù)

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

返回值

The same string data set with GearmanClient::setData()

參見