Entity
in package
Entity Class
Tags
Table of Contents
- $data : array<string|int, mixed>
- __construct() : void
- Init with the db data
- setData() : void
- Set the current data
Properties
$data
protected
array<string|int, mixed>
$data
= []
Methods
__construct()
Init with the db data
public
__construct(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
-
data
Return values
void —setData()
Set the current data
private
setData(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
-
data