PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

GearmanWorker::__construct

(PECL gearman >= 0.5.0)

GearmanWorker::__constructCreate a GearmanWorker instance

说明

public GearmanWorker::__construct ( void )

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

参数

此函数没有参数。

返回值

A GearmanWorker object

参见