EShapeType
: int
in package
The input and output Shape types
Tags
Table of Contents
Cases
- Audio = 3
- Enum = 6
- File = 5
- Image = 2
- ListOfAudios = 13
- ListOfFiles = 15
- ListOfImages = 12
- ListOfNumbers = 10
- ListOfTexts = 11
- ListOfVideos = 14
- Number
- Text = 1
- Video = 4
Methods
- getScalarType() : EShapeType
- isFileType() : bool
- validateEnum() : void
- validateInput() : void
- validateOutputWithFileData() : void
- validateOutputWithFileIds() : void
- validateNonFileType() : void
Cases
Number
Text
Image
Audio
Video
File
Enum
ListOfNumbers
ListOfTexts
ListOfImages
ListOfAudios
ListOfVideos
ListOfFiles
Methods
getScalarType()
public
static getScalarType(EShapeType $type) : EShapeType
Parameters
- $type : EShapeType
Tags
Return values
EShapeTypeisFileType()
public
static isFileType(EShapeType $type) : bool
Parameters
- $type : EShapeType
Tags
Return values
boolvalidateEnum()
public
validateEnum(mixed $value, array<string|int, ShapeEnumValue> $enumValues) : void
Parameters
- $value : mixed
- $enumValues : array<string|int, ShapeEnumValue>
Tags
validateInput()
public
validateInput(mixed $value) : void
Parameters
- $value : mixed
Tags
validateOutputWithFileData()
public
validateOutputWithFileData(mixed $value) : void
Parameters
- $value : mixed
Tags
validateOutputWithFileIds()
public
validateOutputWithFileIds(mixed $value) : void
Parameters
- $value : mixed
Tags
validateNonFileType()
private
validateNonFileType(mixed $value) : void
Parameters
- $value : mixed