GearmanWorker::setOptions

(PECL gearman >= 0.5.0)

GearmanWorker::setOptionsSet worker options

说锟斤拷

public GearmanWorker::setOptions ( int $option ) : bool

Sets one or more options to the supplied value.

锟斤拷锟斤拷

option

The options to be set

锟斤拷锟斤拷值

Always returns TRUE.

锟轿硷拷