SearchResponse
extends BaseResponse
in package
implements
Stringable
Models search response.
Table of Contents
Interfaces
- Stringable
Properties
Methods
- __construct() : mixed
- __toString() : string
- getRawHttp() : string
Properties
$models
public
SearchModels
$models
Parsed search payload.
$pagination
public
PaginationMetadata
$pagination
Pagination metadata for the search results.
Methods
__construct()
public
__construct(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawResponse) : mixed
Parameters
- $rawResponse : array<string, int|float|string|bool|null|array<string|int, mixed>>
-
Raw server response array.
__toString()
public
__toString() : string
Return values
string —String representation.
getRawHttp()
public
getRawHttp() : string
Return values
string —Raw dump of the JSON response.