Gearman
PHP Manual

The GearmanWorker class

Introduction

Description of the class.

Class synopsis

GearmanWorker
GearmanWorker {
/* Methods */
public boolean addFunction ( string $function_name , callback $function [, mixed &$data [, integer $timeout ]] )
public boolean addServer ([ string $host [, integer $port ]] )
public boolean addServers ( string $servers )
public void clone ( void )
__construct ( void )
public string error ( void )
public integer getErrno ( void )
public integer returnCode ( void )
public boolean setOptions ( integer $option , integer $data )
public boolean work ( void )
}

Table of Contents


Gearman
PHP Manual