function parseRateLimit(Response $response) {
        $newRateLimit = \GithubService\RateLimit::createFromResponse($response);
        if ($newRateLimit != null) {
            $this->rateLimit = $newRateLimit;
        }
    }
function parseRateLimit(Response $response) {
        $newRateLimit = \GithubService\RateLimit::createFromResponse($response);
        if ($newRateLimit != null) {
            $this->rateLimit = $newRateLimit;
        }
    }
function parseRateLimit ( Response $ response ) { $ newRateLimit = \ GithubService \ RateLimit :: createFromResponse ( $ response ) ; if ( $ newRateLimit != null ) { $ this -> rateLimit = $ newRateLimit ; } }
Try to get some rate limiting info from the response, and store it if it is
available.
@param Response $response
Try to get some rate limiting info from the response and store it if it is available .