GearmanJob::unique
PHP function
Edit on GitHub ✎
(PECL gearman >= 0.5.0)
Get the unique identifier
Description
GearmanJob::unique(): false|string
Returns the unique identifier for this job. The identifier is assigned by the client.
Parameters Parameters
Return Values
An opaque unique identifier, or false if the job has not yet been initialized.
See Also
GearmanClient::doGearmanTask::uuid