W3cubDocs

/PHP

GearmanTask::data

(PECL gearman >= 0.5.0)

GearmanTask::dataGet 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

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmantask.data.php