GearmanWorker
PHP Manual

GearmanWorker::setOptions

(PECL gearman >= 0.5.0)

GearmanWorker::setOptionsSet worker options

Description

public boolean GearmanWorker::setOptions ( integer $option , integer $data )

Sets one or more options to the supplied value.

Parameters

option

The options to be set

data

The value to set the options to

Return Values

Always returns TRUE.

See Also


GearmanWorker
PHP Manual