GearmanJob::sendComplete
GearmanJob::sendException
GearmanJob
PHP Manual

# GearmanJob::sendData

(PECL gearman >= 0.6.0)

GearmanJob::sendData — Send data for a running job

### Description

public bool GearmanJob::sendData ( string `$data` )

Sends data to the job server (and any listening clients) for this job.

### Parameters

`data`

  Arbitrary serialized data.

### Return Values

Returns `TRUE` on success or `FALSE` on failure.

### See Also

- GearmanJob::workload() - Get workload
- GearmanTask::data() - Get data returned for a task

GearmanJob::sendComplete
GearmanJob::sendException
GearmanJob
PHP Manual