GearmanWorker::setOptions
GearmanWorker::setOptions
(PECL gearman >= 0.5.0)
GearmanWorker::setOptions — Set worker options
Description
public bool GearmanWorker::setOptions ( int $option )
Sets one or more options to the supplied value.
Parameters
-
option
-
The options to be set
Return Values
Always returns TRUE
.
See Also
- GearmanWorker::options() - Get worker options
- GearmanWorker::addOptions() - Add worker options
- GearmanWorker::removeOptions() - Remove worker options
- GearmanClient::setOptions() - Set client options
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/gearmanworker.setoptions.php