GearmanWorker
PHP Manual

GearmanWorker::addOptions

(PECL gearman >= 0.6.0)

GearmanWorker::addOptionsAdd worker options

说明

public bool GearmanWorker::addOptions ( int $option )

Adds one or more options to the options previously set.

参数

option

The options to be added

返回值

Always returns TRUE.

参见


GearmanWorker
PHP Manual