Get data returned for a task

# GearmanTask::data

(PECL gearman >= 0.5.0)

GearmanTask::data — Get data returned for a task

### 说明

public function GearmanTask::data(): false|string

Returns data being returned for a task by a worker.

### 参数

此函数没有参数。

### 返回值

The serialized data, or `false` if no data is present.

### 参见

- GearmanTask::dataSize() - Get the size of returned data

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