original_string: private function decodeMultiple(&$apiData)
      {
          $resObj = json_decode($apiData);
  
          if (isset($resObj->status)) {
              $msg = "Error " . $resObj->status . " " . $resObj->message;
              throw new \Exception($msg);
          } else {
              //$itemsArray = $resObj->items;
              if (!is_array($resObj)) {
                  return false;
              } else {
                  return $resObj;
              }
          }
      }
code: private function decodeMultiple(&$apiData)
      {
          $resObj = json_decode($apiData);
  
          if (isset($resObj->status)) {
              $msg = "Error " . $resObj->status . " " . $resObj->message;
              throw new \Exception($msg);
          } else {
              //$itemsArray = $resObj->items;
              if (!is_array($resObj)) {
                  return false;
              } else {
                  return $resObj;
              }
          }
      }
code_tokens: private function decodeMultiple ( & $ apiData ) { $ resObj = json_decode ( $ apiData ) ; if ( isset ( $ resObj -> status ) ) { $ msg = "Error " . $ resObj -> status . " " . $ resObj -> message ; throw new \ Exception ( $ msg ) ; } else { //$itemsArray = $resObj->items; if ( ! is_array ( $ resObj ) ) { return false ; } else { return $ resObj ; } } }
docstring: Decode the response from IGDB, extract the multiple resource object.
  
  @param  string $apiData the api response from IGDB
  @throws \Exception
  @return \StdClass  an IGDB resource object
docstring_tokens: Decode the response from IGDB extract the multiple resource object .