W3cubDocs

/PHP

GearmanWorker::options

(PECL gearman >= 0.6.0)

GearmanWorker::optionsGet worker options

Description

public GearmanWorker::options ( ) : int

Gets the options previously set for the worker.

Parameters

This function has no parameters.

Return Values

The options currently set for the worker.

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