protected function normalizeResponse(ResponseInterface $response)
    {
        if (!is_null($this->normalizer)) {
            return $this->normalizer->normalize($response);
        }

        //default responsen is decoded json
        return $response->json();
    }
protected function normalizeResponse(ResponseInterface $response)
    {
        if (!is_null($this->normalizer)) {
            return $this->normalizer->normalize($response);
        }

        //default responsen is decoded json
        return $response->json();
    }
protected function normalizeResponse ( ResponseInterface $ response ) { if ( ! is_null ( $ this -> normalizer ) ) { return $ this -> normalizer -> normalize ( $ response ) ; } //default responsen is decoded json
 return $ response -> json ( ) ; }
Normalizes the HTTP Request Client response
@param ResponseInterface $response
@return mixed
Normalizes the HTTP Request Client response