Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
My
Model
User
aggregateId
My\Model\User::aggregateId PHP Method
User Class Documentation
Mostrar archivo
Open project: prooph/event-sourcing
aggregateId()
protected
method
Every AR needs a hidden method that returns the identifier of the AR as a string
protected
aggregateId
( ) :
string
return
string
representation of the unique identifier of the aggregate root
protected function aggregateId() { return $this->uuid->toString(); }
User
aggregateId
changeName
name
nameNew
userId
whenUserWasCreated
whenUserWasRenamed