DeviceActionJob extends Model
Table of Contents
- $data : array<string|int, mixed>|null
- from() : static
- Initializing a model from an array
- getData() : array<string|int, string>
- Getter for data
- jsonSerialize() : array<string|int, mixed>
- setData() : static
- Setter for data
Properties
$data
protected
array<string|int, mixed>|null
$data
= null
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —getData()
Getter for data
public
getData() : array<string|int, string>
Return values
array<string|int, string> —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setData()
Setter for data
public
setData(array<string|int, string> $data) : static
Parameters
- $data : array<string|int, string>
Return values
static —To use in method chains