/** * @param ResponseInterface $httpResponse * @return array * @throws RuntimeException */ public function decode(ResponseInterface $httpResponse) { return Json::decode($httpResponse->getBody(), Json::TYPE_ARRAY); }