src/JobAwareTrait.php
public function gearmanClient()
    {
        $client = new GearmanClient();

        $servers = static::_getGearmanServers();

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

        return $client;
    }
public function gearmanClient()
    {
        $client = new GearmanClient();

        $servers = static::_getGearmanServers();

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

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

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