Dispatcher/GearmanCallbacksDispatcher.php
public function assignDataCallback(GearmanTask $gearmanTask)
    {
        $event = new GearmanClientCallbackDataEvent($gearmanTask);
        $this->eventDispatcher->dispatch(
            GearmanEvents::GEARMAN_CLIENT_CALLBACK_DATA,
            $event
        );
    }
public function assignDataCallback(GearmanTask $gearmanTask)
    {
        $event = new GearmanClientCallbackDataEvent($gearmanTask);
        $this->eventDispatcher->dispatch(
            GearmanEvents::GEARMAN_CLIENT_CALLBACK_DATA,
            $event
        );
    }
public function assignDataCallback ( GearmanTask $ gearmanTask ) { $ event = new GearmanClientCallbackDataEvent ( $ gearmanTask ) ; $ this -> eventDispatcher -> dispatch ( GearmanEvents :: GEARMAN_CLIENT_CALLBACK_DATA , $ event ) ; }
Assigns DataCallback into GearmanTask

@param GearmanTask $gearmanTask Gearman Task

@see http://www.php.net/manual/en/gearmanclient.setdatacallback.php
Assigns DataCallback into GearmanTask