protected function getClient()
    {
        $retries   = 5;
        $httpCodes = null;
        $curlCodes = null;

        $plugin = BackoffPlugin::getExponentialBackoff($retries, $httpCodes, $curlCodes);
        $client = new Client($this->baseUrl);
        $client->addSubscriber($plugin);

        return $client;
    }
protected function getClient()
    {
        $retries   = 5;
        $httpCodes = null;
        $curlCodes = null;

        $plugin = BackoffPlugin::getExponentialBackoff($retries, $httpCodes, $curlCodes);
        $client = new Client($this->baseUrl);
        $client->addSubscriber($plugin);

        return $client;
    }
protected function getClient ( ) { $ retries = 5 ; $ httpCodes = null ; $ curlCodes = null ; $ plugin = BackoffPlugin :: getExponentialBackoff ( $ retries , $ httpCodes , $ curlCodes ) ; $ client = new Client ( $ this -> baseUrl ) ; $ client -> addSubscriber ( $ plugin ) ; return $ client ; }
Construct the Guzzle Http Client with the exponential retry plugin

@access protected
@return \Guzzle|Http\Client
Construct the Guzzle Http Client with the exponential retry plugin