Service/GearmanExecute.php
public function executeWorker($workerName, array $options = array())
    {
        $worker = $this->getWorker($workerName);

        if (false !== $worker) {

            $this->callJob($worker, $options);
        }
    }
public function executeWorker($workerName, array $options = array())
    {
        $worker = $this->getWorker($workerName);

        if (false !== $worker) {

            $this->callJob($worker, $options);
        }
    }
public function executeWorker ( $ workerName , array $ options = array ( ) ) { $ worker = $ this -> getWorker ( $ workerName ) ; if ( false !== $ worker ) { $ this -> callJob ( $ worker , $ options ) ; } }
Executes a worker given a workerName subscribing all his jobs inside and
given settings and annotations of worker and jobs

@param string $workerName Name of worker to be executed
Executes a worker given a workerName subscribing all his jobs inside and given settings and annotations of worker and jobs