GearmanClient
PHP Manual

GearmanClient::setOptions

(PECL gearman >= 0.5.0)

GearmanClient::setOptionsSet client options

Description

public boolean GearmanClient::setOptions ( integer $options , integer $data )

Sets one or more options to the supplied value.

Parameters

options

The options to be set

data

The value to set the options to

Return Values

Always returns TRUE.


GearmanClient
PHP Manual