Scholar Repository
Home>Manual>Set worker options

Set worker options


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.

Parameters

option

The options to be set

Return Values

Always returns TRUE.

See Also


Home>Manual>Set worker options