Documentation

Product
in package
implements Stringable

Class for keeping track of a product's info.

Table of Contents

Interfaces

Stringable

Properties

$name  : string
$version  : string

Methods

__construct()  : mixed
__toString()  : string

Properties

$name

public string $name

Product's name.

$version

public string $version

Product's versions.

Methods

__construct()

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

Raw prediction array.

__toString()

public __toString() : string
Return values
string

String representation.

On this page

Search results