protected function setAllowance(RequestInterface $request)
    {
        return function (ResponseInterface $response) use ($request) {
            $this->provider->setRequestAllowance($request, $response);

            return $response;
        };
    }
protected function setAllowance(RequestInterface $request)
    {
        return function (ResponseInterface $response) use ($request) {
            $this->provider->setRequestAllowance($request, $response);

            return $response;
        };
    }
protected function setAllowance ( RequestInterface $ request ) { return function ( ResponseInterface $ response ) use ( $ request ) { $ this -> provider -> setRequestAllowance ( $ request , $ response ) ; return $ response ; } ; }
Returns a callable handler which allows the provider to set the request
allowance for the next request, using the current response.

@param RequestInterface $request

@return \Closure Handler to set request allowance on the rate provider.
Returns a callable handler which allows the provider to set the request allowance for the next request using the current response .