class User extends BaseSystemProperties

Traits

Properties

protected string $id from BaseSystemProperties
protected string $type from BaseSystemProperties
protected DateTimeImmutable $createdAt from CreatedAtTrait
protected DateTimeImmutable $updatedAt from UpdatedAtTrait
protected int $version from VersionedTrait

Methods

init(string $type, string $id)

No description

getId()

No description

getType()

No description

jsonSerialize()

{@inheritdoc}

initCreatedAt(array $data)

No description

jsonSerializeCreatedAt()

No description

getCreatedAt()

No description

initUpdatedAt(array $data)

No description

jsonSerializeUpdatedAt()

No description

getUpdatedAt()

No description

initVersioned(array $data)

No description

jsonSerializeVersioned()

No description

getVersion()

No description

__construct(array $sys)

User constructor.

Details

in BaseSystemProperties at line 31
protected init(string $type, string $id)

Parameters

string $type
string $id

in BaseSystemProperties at line 37
getId()

in BaseSystemProperties at line 42
getType()

at line 35
jsonSerialize()

{@inheritdoc}

in CreatedAtTrait at line 23
protected initCreatedAt(array $data)

Parameters

array $data

in CreatedAtTrait at line 28
protected jsonSerializeCreatedAt()

in CreatedAtTrait at line 35
getCreatedAt()

in UpdatedAtTrait at line 23
protected initUpdatedAt(array $data)

Parameters

array $data

in UpdatedAtTrait at line 28
protected jsonSerializeUpdatedAt()

in UpdatedAtTrait at line 35
getUpdatedAt()

in VersionedTrait at line 21
protected initVersioned(array $data)

Parameters

array $data

in VersionedTrait at line 26
protected jsonSerializeVersioned()

in VersionedTrait at line 33
getVersion()

at line 23
__construct(array $sys)

User constructor.

Parameters

array $sys