Set worker options

# GearmanWorker::setOptions

(PECL gearman >= 0.5.0)

GearmanWorker::setOptions — Set worker options

### Descrierea

public GearmanWorker::setOptions ( int `$option` ) : bool

Sets one or more options to the supplied value.

### Parametri

`option`

  The options to be set

### Valorile întoarse

Always returns `TRUE`.

### A se vedea și

- GearmanWorker::options() - Get worker options
- GearmanWorker::addOptions() - Add worker options
- GearmanWorker::removeOptions() - Remove worker options
- GearmanClient::setOptions() - Set client options