GEARMANWORKER(3)							 1							  GEARMANWORKER(3)

The GearmanWorker class

INTRODUCTION
CLASS SYNOPSIS
GearmanWorker GearmanWorker Methods o public bool GearmanWorker::addFunction (string $function_name, callable $function, [mixed &$context], [int $timeout]) o public bool GearmanWorker::addOptions (int $option) o public bool GearmanWorker::addServer ([string $host = 127.0.0.1], [int $port = 4730]) o public bool GearmanWorker::addServers (string $servers = 127.0.0.1:4730) o public void GearmanWorker::clone (void ) o public GearmanWorker::__construct (void ) o public bool GearmanWorker::echo (string $workload) o public string GearmanWorker::error (void ) o public int GearmanWorker::getErrno (void ) o public int GearmanWorker::options (void ) o public bool GearmanWorker::register (string $function_name, [int $timeout]) o public bool GearmanWorker::removeOptions (int $option) o public int GearmanWorker::returnCode (void ) o public bool GearmanWorker::setId (string $id) o public bool GearmanWorker::setOptions (int $option) o public bool GearmanWorker::setTimeout (int $timeout) o public int GearmanWorker::timeout (void ) o public bool GearmanWorker::unregister (string $function_name) o public bool GearmanWorker::unregisterAll (void ) o public bool GearmanWorker::wait (void ) o public bool GearmanWorker::work (void ) PHP Documentation Group GEARMANWORKER(3)