GearmanWorker::__construct

(PECL gearman >= 0.5.0)

GearmanWorker::__constructCreate a GearmanWorker instance

Description

public GearmanWorker::__construct ( )

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

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmanworker.construct.php