= 0.5.0)GearmanWorker::setOptions — Set worker options說明public GearmanWorker::setOptions(int $option): boolSet">

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.

參數(shù)

option

The options to be set

返回值

Always returns true.

參見