GearmanWorker::addOptions

(PECL gearman >= 0.6.0)

GearmanWorker::addOptionsAdd worker options

Description

public GearmanWorker::addOptions ( int $option ) : bool

Adds one or more options to the options previously set.

Parameters

option

The options to be added

Return Values

Always returns true.

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