mmoreramerino/GearmanBundle — Issue #3: Job format?
Author: nakashiman
Created: 2011-12-21 06:05:18+00:00
State: open

Hi,
Below is my gearman client related code,
I wanna ask what's the format of the variable $job (the first argument of doJob function),
thanks.

~~~~
$gmclient = $this->getContainer()->get('gearman');
$gmclient->setServer("172.16.6.1");
$record = array("msg" => "ok);
$gmclient->doJob($job, $record);
~~~~