Scholar Repository
Home>Manual>Add worker options

Add worker options


GearmanWorker::addOptions

(PECL gearman >= 0.6.0)

GearmanWorker::addOptionsAdd worker options

Description

public bool GearmanWorker::addOptions ( int $option )

Adds one or more options to the options previously set.

Parameters

option

The options to be added

Return Values

Always returns TRUE.

See Also


Home>Manual>Add worker options