Get data returned for a task

# GearmanTask::data

(PECL gearman >= 0.5.0)

GearmanTask::data — Get data returned for a task

### Description

public GearmanTask::data(): false|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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open