International PHP Conference 2019 - Spring Edition

GearmanClient::data

(PECL gearman <= 0.5.0)

GearmanClient::dataGet the application data (deprecated)

说明

public string GearmanClient::data ( void )

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

Note:

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

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top