« GearmanWorker::setId
GearmanWorker::setTimeout »

GearmanWorker::setOptions

(PECL gearman >= 0.5.0)

GearmanWorker::setOptions — Set worker options

説明

public function GearmanWorker::setOptions(int $option): true

Sets one or more options to the supplied value.

パラメータ

option

The options to be set

戻り値

常に true を返します。

参考

関連キーワード:
options   GearmanWorker   worker   setOptions   option   setId   setTimeout   gearman   Sets   more   supplied   参考   addOptions   removeOptions   Remove   GearmanClient   client
関連する関数・ページ:
gearmanworker.options   gearmanworker.removeoptions   gearmanworker.addoptions   class.gearmanworker   gearmanworker.clone   gearmanworker.construct