AbstractUniqueEntity
extends AbstractEntity
in package
implements
InterfaceEntity, InterfaceUniqueEntity
Tags
Interfaces, Classes and Traits
Table of Contents
- $id : int
- $uid : string
- Unique identifier. Most likely is UUID v4.
- __construct() : mixed
- getId() : int
- getUid() : string
- setupFields() : mixed
Properties
$id
public
int
$id
= 0
Tags
$uid
Unique identifier. Most likely is UUID v4.
public
string
$uid
= ''
Tags
Methods
__construct()
public
__construct(int $id[, array<string|int, mixed> $fieldsData = [] ]) : mixed
Parameters
- $id : int
- $fieldsData : array<string|int, mixed> = []
-
Optional.
Tags
Return values
mixed —getId()
public
getId() : int
Tags
Return values
int —getUid()
public
getUid() : string
Tags
Return values
string —setupFields()
protected
setupFields( $fieldValues) : mixed