Documentation

Page
in package

Base Page object for predictions.

Table of Contents

Properties

$extras  : Extras
$id  : int|mixed
$orientation  : OrientationField
$prediction  : Prediction|object

Methods

__construct()  : mixed
__toString()  : string

Properties

$extras

public Extras $extras

Potential Extras fields sent back along with the prediction.

$id

public int|mixed $id

ID of the current page.

Methods

__construct()

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

Type of prediction.

$rawPrediction : array<string|int, mixed>

Raw prediction array.

Tags
throws
MindeeApiException

Throws if the prediction type isn't recognized.

__toString()

public __toString() : string
Return values
string

String representation.


        
On this page

Search results