User
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
jsonSerialize()
{@inheritdoc}
__construct(array $sys)
User constructor.
Details
in BaseSystemProperties at line 31
protected
init(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)
in CreatedAtTrait at line 28
protected
jsonSerializeCreatedAt()
in CreatedAtTrait at line 35
getCreatedAt()
in UpdatedAtTrait at line 23
protected
initUpdatedAt(array $data)
in UpdatedAtTrait at line 28
protected
jsonSerializeUpdatedAt()
in UpdatedAtTrait at line 35
getUpdatedAt()
in VersionedTrait at line 21
protected
initVersioned(array $data)
in VersionedTrait at line 26
protected
jsonSerializeVersioned()
in VersionedTrait at line 33
getVersion()
at line 23
__construct(array $sys)
User constructor.