GearmanTask::data
(PECL gearman >= 0.5.0)
GearmanTask::data — Get data returned for a task
Description
public GearmanTask::data(): string
Returns data being returned for a task by a worker.
Parameters
This function has no parameters.
Return Values
The serialized data, or false
if no data is present.
See Also
- GearmanTask::dataSize() - Get the size of returned data
© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmantask.data.php