Instrument
in package
FinalYes
Table of Contents
Properties
- $advisory : array<string|int, mixed>
- $description : string
- $name : string
- $type : string|InstrumentType
- $unit : string
Methods
- __construct() : mixed
- A null unit or description is stored as an empty string. The spec treats them as the same.
Properties
$advisory read-only
public
array<string|int, mixed>
$advisory
= []
$description read-only
public
string
$description
$name read-only
public
string
$name
$type read-only
public
string|InstrumentType
$type
$unit read-only
public
string
$unit
Methods
__construct()
A null unit or description is stored as an empty string. The spec treats them as the same.
public
__construct(string|InstrumentType $type, string $name, string|null $unit, string|null $description[, array<string|int, mixed> $advisory = [] ]) : mixed
Parameters
- $type : string|InstrumentType
- $name : string
- $unit : string|null
- $description : string|null
- $advisory : array<string|int, mixed> = []