GearmanClient::data
(PECL gearman <= 0.5.0)
GearmanClient::data — Get the application data (deprecated)
Description
public GearmanClient::data(): string
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.
Parameters
This function has no parameters.
Return Values
The same string data set with GearmanClient::setData()
See Also
- GearmanClient::setData() - Set application data (deprecated)
© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmanclient.data.php