Documentation

ApiResponse
in package

AbstractYes

Base class for API responses.

Table of Contents

Properties

$apiRequest  : ApiRequest
$rawHttp  : array<string|int, mixed>

Methods

__construct()  : mixed
getRawHttp()  : string

Properties

$rawHttp

private array<string|int, mixed> $rawHttp

Raw http result. Used for debugging purposes.

Methods

__construct()

public __construct(array<string|int, mixed> $rawResponse) : mixed
Parameters
$rawResponse : array<string|int, mixed>

Raw prediction array.

getRawHttp()

public getRawHttp() : string
Return values
string

String representation.


        
On this page

Search results