ShapeEnumValue
in package
implements
JsonSerializable
Data object for input output shape enum slot value
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- __construct() : mixed
- getName() : string
- getValue() : string
- jsonSerialize() : array{name: string, value: string}
Properties
$name
private
string
$name
$value
private
string
$value
Methods
__construct()
public
__construct(string $name, string $value) : mixed
Parameters
- $name : string
- $value : string
Tags
getName()
public
getName() : string
Tags
Return values
stringgetValue()
public
getValue() : string
Tags
Return values
stringjsonSerialize()
public
jsonSerialize() : array{name: string, value: string}