src/JobAwareTrait.php
public function gearmanWorker()
    {
        $client = new GearmanWorker();

        $servers = static::_getGearmanServers();

        $client->addServers(implode(',', $servers));

        return $client;
    }
public function gearmanWorker()
    {
        $client = new GearmanWorker();

        $servers = static::_getGearmanServers();

        $client->addServers(implode(',', $servers));

        return $client;
    }
public function gearmanWorker ( ) { $ client = new GearmanWorker ( ) ; $ servers = static :: _getGearmanServers ( ) ; $ client -> addServers ( implode ( ',' , $ servers ) ) ; return $ client ; }
Setup a GearmanWorker object configured
with the servers from the configuration.

@return GearmanWorker
Setup a GearmanWorker object configured with the servers from the configuration .