php / 8.1.5 / gearmanworker.setoptions.html /

GearmanWorker::setOptions

(PECL gearman >= 0.5.0)

GearmanWorker::setOptionsSet worker options

Description

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

Sets one or more options to the supplied value.

Parameters

option

The options to be set

Return Values

Always returns true.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmanworker.setoptions.php