Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<GearmanWorker::setIdGearmanWorker::setTimeout>
^GearmanWorkerLast updated: Mon, 26 Oct 2026

GearmanWorker::setOptions

(PECL gearman >= 0.5.0)

GearmanWorker::setOptions — Set worker options

Description

public function GearmanWorker::setOptions(int $option): true

Sets one or more options to the supplied value.

Parameters

option

The options to be set

Return Values

Always returns true.

See Also


<GearmanWorker::setIdGearmanWorker::setTimeout>
^GearmanWorkerLast updated: Mon, 26 Oct 2026