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.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/gearmanworker.setoptions.php