W3cubDocs

/PHP

GearmanWorker::clone

(PECL gearman >= 0.5.0)

GearmanWorker::cloneCreate a copy of the worker

Description

public GearmanWorker::clone ( ) : void

Creates a copy of the worker.

Parameters

This function has no parameters.

Return Values

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.clone.php