public function addRetry(Retry $retry)
    {
        $this->retries[$retry->getUrl().'~~'.$retry->getMethod()] = $retry;
    }
public function addRetry(Retry $retry)
    {
        $this->retries[$retry->getUrl().'~~'.$retry->getMethod()] = $retry;
    }
public function addRetry ( Retry $ retry ) { $ this -> retries [ $ retry -> getUrl ( ) . '~~' . $ retry -> getMethod ( ) ] = $ retry ; }
Add retry.

@param Retry $retry
Add retry .