(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.
This function has no parameters.
A GearmanWorker object
© 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