UserDataHash

Namespace

IO\DBModels

Extends
Implements
Constants
Type Name Value Description

string

TYPE_CHANGE_MAIL

'change-mail'

string

TYPE_RESET_PASSWORD

'reset-password'

string

FIELD_TYPE_INT

'int'

string

FIELD_TYPE_UNSIGNED_INT

'unsignedInteger'

string

FIELD_TYPE_DECIMAL

'decimal'

string

FIELD_TYPE_STRING

'string'

string

FIELD_TYPE_BOOL

'bool'

string

FIELD_TYPE_ARRAY

'array'

string

FIELD_TYPE_TEXT

'text'

array

FIELD_TYPES

['int','decimal','string','bool','array','text']

Properties
Type Name Description

``

$id

``

$type

``

$plentyId

``

$contactId

``

$hash

``

$data

``

$createdAt

``

$expiresAt

Methods
public getTableName():string
public jsonSerialize():mixed

Specify data which should be serialized to JSON

public fillByAttributes($attributes)
Parameters

Type

Name

Description

``

$attributes