src/v3/Client.php
protected function handleResponse(ResponseInterface $response)
    {
        $this->rateLimit = new RateLimit;
        $this->rateLimit->dailyLimit = (integer) $response->getHeaderLine('RateLimit-DailyLimit');
        $this->rateLimit->remaining = (integer) $response->getHeaderLine('RateLimit-Remaining');
        $this->rateLimit->resetTime = $response->getHeaderLine('RateLimit-ResetTime');

        return $response;
    }
protected function handleResponse(ResponseInterface $response)
    {
        $this->rateLimit = new RateLimit;
        $this->rateLimit->dailyLimit = (integer) $response->getHeaderLine('RateLimit-DailyLimit');
        $this->rateLimit->remaining = (integer) $response->getHeaderLine('RateLimit-Remaining');
        $this->rateLimit->resetTime = $response->getHeaderLine('RateLimit-ResetTime');

        return $response;
    }
protected function handleResponse ( ResponseInterface $ response ) { $ this -> rateLimit = new RateLimit ; $ this -> rateLimit -> dailyLimit = ( integer ) $ response -> getHeaderLine ( 'RateLimit-DailyLimit' ) ; $ this -> rateLimit -> remaining = ( integer ) $ response -> getHeaderLine ( 'RateLimit-Remaining' ) ; $ this -> rateLimit -> resetTime = $ response -> getHeaderLine ( 'RateLimit-ResetTime' ) ; return $ response ; }
Provides a hook that handles the response before returning to the consumer.

@param ResponseInterface $response

@return  ResponseInterface
Provides a hook that handles the response before returning to the consumer .