GearmanJob::setReturn

(PECL gearman >= 0.5.0)

GearmanJob::setReturnSet a return value

说明

public GearmanJob::setReturn ( int $gearman_return_t ) : bool

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

参数

gearman_return_t

A valid Gearman return value.

返回值

Description...