GearmanWorker::setOptions
(PECL gearman >= 0.5.0)
GearmanWorker::setOptions — Set worker options
Descrição
public bool GearmanWorker::setOptions
( int
$option
)Sets one or more options to the supplied value.
Parâmetros
-
option -
The options to be set
Valor Retornado
Always returns TRUE.
Veja Também
- GearmanWorker::options() - Get worker options
- GearmanWorker::addOptions() - Add worker options
- GearmanWorker::removeOptions() - Remove worker options
- GearmanClient::setOptions() - Set client options