GearmanClient::context
GearmanClient::do
GearmanClient
PHP Manual

# GearmanClient::data

(PECL gearman <= 0.5.0)

GearmanClient::data — Get the application data (deprecated)

### 説明

public string GearmanClient::data ( void )

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.

### パラメータ

この関数にはパラメータはありません。

### 返り値

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

### 参考

- GearmanClient::setData() - Set application data (deprecated)

GearmanClient::context
GearmanClient::do
GearmanClient
PHP Manual