protected function getResponse($requestUrl)
    {
        $response = $this->getHttpClient()->get($requestUrl);
        return json_decode($response->getBody()->getContents(), true);
    }
protected function getResponse($requestUrl)
    {
        $response = $this->getHttpClient()->get($requestUrl);
        return json_decode($response->getBody()->getContents(), true);
    }
protected function getResponse ( $ requestUrl ) { $ response = $ this -> getHttpClient ( ) -> get ( $ requestUrl ) ; return json_decode ( $ response -> getBody ( ) -> getContents ( ) , true ) ; }
Sends request to provided request url and gets json array
@param $requestUrl
@return mixed
Sends request to provided request url and gets json array