GearmanWorker
PHP Manual

GearmanWorker::setOptions

(PECL gearman >= 0.5.0)

GearmanWorker::setOptionsSet worker options

Description

public bool GearmanWorker::setOptions ( int $option )

Sets one or more options to the supplied value.

Liste de paramètres

option

The options to be set

Valeurs de retour

Always returns TRUE.

Voir aussi


GearmanWorker
PHP Manual