Php/docs/gearmanworker.addoptions

来自菜鸟教程
跳转至:导航、​搜索

GearmanWorker::addOptions

(PECL gearman >= 0.6.0)

GearmanWorker::addOptionsAdd worker options


说明

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

Adds one or more options to the options previously set.


参数

option
The options to be added


返回值

Always returns true.


参见