GearmanWorker::setOptions

Set worker options

Description

public true 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

  • GearmanWorker::options
  • GearmanWorker::addOptions
  • GearmanWorker::removeOptions
  • GearmanClient::setOptions