Unit
in package
implements
JsonSerializable
Interfaces, Classes and Traits
- JsonSerializable
Table of Contents
- $unit : string
- __construct() : mixed
- Constructor.
- jsonSerialize() : mixed
- value() : string
- Return value.
Properties
$unit
private
string
$unit
Methods
__construct()
Constructor.
public
__construct(string $unit) : mixed
Parameters
- $unit : string
Return values
mixed —jsonSerialize()
public
jsonSerialize() : mixed
Tags
Return values
mixed —value()
Return value.
public
value() : string