ThingsResultAction
in package
Table of Contents
- TYPE_BINARY = 'binary'
- TYPE_VOID = 'void'
- $data : string|null
- $type : string
- __construct() : mixed
- ThingsResultAction constructor
- getData() : string|null
- Returns the data of things event result action.
- getType() : string
- Returns the type of things event result action.
Constants
TYPE_BINARY
public
mixed
TYPE_BINARY
= 'binary'
TYPE_VOID
public
mixed
TYPE_VOID
= 'void'
Properties
$data
private
string|null
$data
$type
private
string
$type
Methods
__construct()
ThingsResultAction constructor
public
__construct(string $type, string|null $data) : mixed
Parameters
- $type : string
- $data : string|null
Return values
mixed —getData()
Returns the data of things event result action.
public
getData() : string|null
Return values
string|null —getType()
Returns the type of things event result action.
public
getType() : string