GearmanWorker::addOptions
(PECL gearman >= 0.6.0)
GearmanWorker::addOptions — Add worker options
说明
public GearmanWorker::addOptions(int
$option
): boolAdds one or more options to the options previously set.
参数
-
option
-
The options to be added
返回值
Always returns true
.
参见
- GearmanWorker::options() - Get worker options
- GearmanClient::setOptions() - Set client options
- GearmanClient::removeOptions() - Remove client options

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/gearmanworker.addoptions.php