Scholar Repository
Home>Manual>Create a GearmanWorker instance

Create a GearmanWorker instance


GearmanWorker::__construct

(PECL gearman >= 0.5.0)

GearmanWorker::__constructCreate a GearmanWorker instance

Description

GearmanWorker::__construct ( void )

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

Parameters

This function has no parameters.

Return Values

A GearmanWorker object

See Also


Home>Manual>Create a GearmanWorker instance