The GearmanWorker class
 
 (PECL gearman >= 0.5.0)
  
  
   Class synopsis
   
    
    
     
      GearmanWorker
     
     {
    
    
    
   public bool addServer
    ([ 
string $host = 127.0.0.1
   [, 
int $port = 4730
  ]] )
 
   public bool addServers
    ( 
string $servers = 127.0.0.1:4730
   )
 
   public void clone
    ( 
void
   )
 
   public bool echo
    ( 
string $workload
   )
 
   public string error
    ( 
void
   )
 
   public bool register
    ( 
string $function_name
   [, 
int $timeout
  ] )
 
   public bool setId
    ( 
string $id
   )
 
   public bool wait
    ( 
void
   )
 
   public bool work
    ( 
void
   )
 
   }
 
   
 Table of Contents