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.

参考

関連キーワード:  worker, GearmanWorker, Set, options, setOptions, option, returns, removeOptions, Add, addOptions