public function merge(DownstreamResponse $response)
    {
        $this->numberTokensSuccess += $response->numberSuccess();
        $this->numberTokensFailure += $response->numberFailure();
        $this->numberTokenModify += $response->numberModification();

        $this->tokensToDelete = array_merge($this->tokensToDelete, $response->tokensToDelete());
        $this->tokensToModify = array_merge($this->tokensToModify, $response->tokensToModify());
        $this->tokensToRetry = array_merge($this->tokensToRetry, $response->tokensToRetry());
        $this->tokensWithError = array_merge($this->tokensWithError, $response->tokensWithError());
    }
public function merge(DownstreamResponse $response)
    {
        $this->numberTokensSuccess += $response->numberSuccess();
        $this->numberTokensFailure += $response->numberFailure();
        $this->numberTokenModify += $response->numberModification();

        $this->tokensToDelete = array_merge($this->tokensToDelete, $response->tokensToDelete());
        $this->tokensToModify = array_merge($this->tokensToModify, $response->tokensToModify());
        $this->tokensToRetry = array_merge($this->tokensToRetry, $response->tokensToRetry());
        $this->tokensWithError = array_merge($this->tokensWithError, $response->tokensWithError());
    }
public function merge ( DownstreamResponse $ response ) { $ this -> numberTokensSuccess += $ response -> numberSuccess ( ) ; $ this -> numberTokensFailure += $ response -> numberFailure ( ) ; $ this -> numberTokenModify += $ response -> numberModification ( ) ; $ this -> tokensToDelete = array_merge ( $ this -> tokensToDelete , $ response -> tokensToDelete ( ) ) ; $ this -> tokensToModify = array_merge ( $ this -> tokensToModify , $ response -> tokensToModify ( ) ) ; $ this -> tokensToRetry = array_merge ( $ this -> tokensToRetry , $ response -> tokensToRetry ( ) ) ; $ this -> tokensWithError = array_merge ( $ this -> tokensWithError , $ response -> tokensWithError ( ) ) ; }
Merge two response.

@param DownstreamResponse $response
Merge two response .