On Friday, July 12, 2013 at 9:37 AM, Norbert Máté wrote:
> Hi, > I have to integrate Gearman in a zf2 project. I have made some search and I > found a zf2 module for this (https://github.com/mwillbanks/MwGearman). Did > anybody used this module? > I have some problem with it. > The problem is that I want to use it in a controller and this is how you > register a worker function: > > $gearman->register('myJob', 'handleJob'); I would always use addFunction(): http://www.php.net/manual/en/gearmanworker.addfunction.php The GearmanManager is the best project I have come across in the past years. Give it a try: https://github.com/brianlmoon/GearmanManager Till -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
