GearmanWorker::__construct

(PECL gearman >= 0.5.0)

GearmanWorker::__constructCreate a GearmanWorker instance

說(shuō)明

public GearmanWorker::__construct()

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

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

A GearmanWorker object

參見(jiàn)