GearmanJob
PHP Manual

GearmanJob::setReturn

(PECL gearman >= 0.5.0)

GearmanJob::setReturnSet a return value

Description

public bool GearmanJob::setReturn ( int $gearman_return_t )

Sets the return value for this job, indicates how the job completed.

Parameters

gearman_return_t

A valid Gearman return value.

Return Values

Description...


GearmanJob
PHP Manual