Get worker options

# GearmanWorker::options

(PECL gearman >= 0.6.0)

GearmanWorker::options — Get worker options

### 说明

public function GearmanWorker::options(): int

Gets the options previously set for the worker.

### 参数

此函数没有参数。

### 返回值

The options currently set for the worker.

### 参见

- GearmanWorker::setOptions() - Set worker options

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open