GearmanWorker::setOptions
(PECL gearman >= 0.5.0)
GearmanWorker::setOptions — Set worker options
Description
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
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
