lib/EventbriteApiConnector/Eventbrite.php
private function validateXmlResponse($responseBody)
    {
        $data = simplexml_load_string($responseBody);

        if (isset($data->error_type)) {
            throw new \Exception($data->error_message);
        }

        return $responseBody;
    }
private function validateXmlResponse($responseBody)
    {
        $data = simplexml_load_string($responseBody);

        if (isset($data->error_type)) {
            throw new \Exception($data->error_message);
        }

        return $responseBody;
    }
private function validateXmlResponse ( $ responseBody ) { $ data = simplexml_load_string ( $ responseBody ) ; if ( isset ( $ data -> error_type ) ) { throw new \ Exception ( $ data -> error_message ) ; } return $ responseBody ; }
Parses the response content for the XML output format

@param string $responseBody

@return string
@throws \Exception
Parses the response content for the XML output format