AggregateRoot
Entities that are an aggregate root.
- Full name:
\Codefy\Domain\Aggregate\AggregateRoot
- Parent interfaces:
\Codefy\Domain\Aggregate\RecordsEvents
,\Codefy\Domain\Model\Entity
Inherited methods
aggregateId
Returns unique aggregate id.
hasRecordedEvents
Determine whether the object's state has changed since the last clearRecordedEvent();
getRecordedEvents
Get all the Domain Events that were recorded since the last time it was cleared, or since it was restored from persistence. This does not include events that were recorded prior.
clearRecordedEvents
Clears the record of new Domain Events. This doesn't clear the history of the object.
Automatically generated on 2025-10-13