ShapeDescriptor
in package
implements
JsonSerializable
Data object for input output shape entries
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
- $description : string
- $name : string
- $shapeType : EShapeType
Methods
- __construct() : mixed
- getDescription() : string
- getName() : string
- getShapeType() : EShapeType
- jsonSerialize() : array{name: string, description: string, type: "Number"|"Text"|"Audio"|"Image"|"Video"|"File"|"Enum"|"ListOfNumbers"|"ListOfTexts"|"ListOfImages"|"ListOfAudios"|"ListOfVideos"|"ListOfFiles"}
Properties
$description
private
string
$description
$name
private
string
$name
$shapeType
private
EShapeType
$shapeType
Methods
__construct()
public
__construct(string $name, string $description, EShapeType $shapeType) : mixed
Parameters
- $name : string
- $description : string
- $shapeType : EShapeType
Tags
getDescription()
public
getDescription() : string
Tags
Return values
stringgetName()
public
getName() : string
Tags
Return values
stringgetShapeType()
public
getShapeType() : EShapeType
Tags
Return values
EShapeTypejsonSerialize()
public
jsonSerialize() : array{name: string, description: string, type: "Number"|"Text"|"Audio"|"Image"|"Video"|"File"|"Enum"|"ListOfNumbers"|"ListOfTexts"|"ListOfImages"|"ListOfAudios"|"ListOfVideos"|"ListOfFiles"}