PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

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.

参见