Product
in package
Class for keeping track of a product's info.
Table of Contents
Properties
Methods
- __construct() : mixed
- __toString() : string
Properties
$name
public
string|mixed
$name
Product's name.
$version
public
string|mixed
$version
Product's versions.
Methods
__construct()
public
__construct(array<string|int, mixed> $rawPrediction) : mixed
Parameters
- $rawPrediction : array<string|int, mixed>
-
Raw prediction array.
__toString()
public
__toString() : string
Return values
string —String representation.