NumberValue
in package
implements
JsonSerializable
Special object to represent a DynamoDB Number (N) value.
Interfaces, Classes and Traits
Table of Contents
- $value : string
- __construct() : mixed
- __toString() : mixed
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON.
Properties
$value
private
string
$value
Number value.
Methods
__construct()
public
__construct(string|int|float $value) : mixed
Parameters
- $value : string|int|float
-
A number value.
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —jsonSerialize()
Specify data which should be serialized to JSON.
public
jsonSerialize() : mixed
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.