# GearmanWorker::__construct

(PECL gearman >= 0.5.0)

GearmanWorker::__construct — Create a GearmanWorker instance

### 说明

public GearmanWorker::__construct()

Creates a GearmanWorker instance representing a worker that connects to the job server and accepts tasks to run.

### 参数

此函数没有参数。

### 返回值

A GearmanWorker object

### 参见

- GearmanWorker::clone() - Create a copy of the worker

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