AbstractUniqueEntity extends AbstractEntity
in package
implements InterfaceEntity, InterfaceUniqueEntity

Tags
since
1.5.0

Interfaces, Classes and Traits

InterfaceEntity
InterfaceUniqueEntity

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
since
1.0

$uid

Unique identifier. Most likely is UUID v4.

public string $uid = ''
Tags
since
1.5.0

Methods

__construct()

public __construct(int $id[, array<string|int, mixed> $fieldsData = [] ]) : mixed
Parameters
$id : int
$fieldsData : array<string|int, mixed> = []

Optional.

Tags
since
1.5.0
Return values
mixed

getId()

public getId() : int
Tags
since
1.11.0
Return values
int

getUid()

public getUid() : string
Tags
since
1.5.0
Return values
string

setupFields()

protected setupFields( $fieldValues) : mixed
Parameters
$fieldValues :
Tags
since
1.0
Return values
mixed

Search results