GearmanWorker::setId
GearmanWorker::setId
(No version information available, might only be in Git)
GearmanWorker::setId — Give the worker an identifier so it can be tracked when asking gearmand for the list of available workers.
Description
public bool GearmanWorker::setId ( string $id )
Assigns the worker an identifier.
Parameters
-
id
-
A string identifier.