Class APIResponse
A wrapper class for responses returned by GuzzleHttp. Adds utility functions used by the SDK
| package | NextEvent\PHPSDK\Model | 
|---|
__construct(\NextEvent\PHPSDK\Model\ResponseInterface $response)
Wrapping a ResponseInterface for use in SDK
| Throws | 
 | 
|---|
\NextEvent\PHPSDK\Model\ResponseInterface
                                            getContent() : array
array
                                                                    getRequestID() : string
Use this in support inquiries to let us track the request in our logs
string
                                                                    getResponse() : \NextEvent\PHPSDK\Model\ResponseInterface
\NextEvent\PHPSDK\Model\ResponseInterface
                                                                    toLogContext() : array
array