Class HALResponse
A wrapper class for Responses returned by GuzzleHttp. The Responses are parsed as HAL+JSON and made accessible by this class.
package |
NextEvent\PHPSDK\REST |
---|
__construct(\NextEvent\PHPSDK\Model\ResponseInterface $response)
Wrapping a ResponseInterface for use in SDK
Throws |
|
---|
\NextEvent\PHPSDK\Model\ResponseInterface
getContent() : array
array
getEmbedded() : array
array
getPage() : integer
integer
Current page of the result set, starting at 1
getPageCount() : integer
integer
getPageSize() : integer
integer
Number of items per page
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
getTotalItems() : integer
integer
Number of items in this result set
toLogContext() : array
array