private function setRetryAttemptsIfConfigured()
    {
        if (isset($this->config['connection_attempts']) &&
            is_numeric($this->config['connection_attempts'])) {
            $this->maxAttempts = $this->config['connection_attempts'];
        }
    }
private function setRetryAttemptsIfConfigured()
    {
        if (isset($this->config['connection_attempts']) &&
            is_numeric($this->config['connection_attempts'])) {
            $this->maxAttempts = $this->config['connection_attempts'];
        }
    }
private function setRetryAttemptsIfConfigured ( ) { if ( isset ( $ this -> config [ 'connection_attempts' ] ) && is_numeric ( $ this -> config [ 'connection_attempts' ] ) ) { $ this -> maxAttempts = $ this -> config [ 'connection_attempts' ] ; } }
Configure re-try attempts.

@return void
Configure re - try attempts .