Table of Contents
Interfaces
- TolokaTransferObject
Constants
-
TYPES
= ['URL' => 'url', 'BOOLEAN' => 'boolean', 'INTEGER' => 'integer', 'STRING' => 'string', 'FLOAT' => 'float', 'JSON' => 'json', 'FILE' => 'file']
Methods
-
getIdentificator()
: string
-
getType()
: string
-
setIdentificator()
: InputOutputSpec
-
setType()
: InputOutputSpec
-
toArray()
: array<string|int, mixed>
TYPES
public
mixed
TYPES
= ['URL' => 'url', 'BOOLEAN' => 'boolean', 'INTEGER' => 'integer', 'STRING' => 'string', 'FLOAT' => 'float', 'JSON' => 'json', 'FILE' => 'file']
getIdentificator()
public
getIdentificator() : string
getType()
public
getType() : string
setIdentificator()
public
setIdentificator(string $identificator) : InputOutputSpec
Parameters
-
$identificator
: string
-
setType()
public
setType(string $type) : InputOutputSpec
Parameters
-
$type
: string
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>