Skip to content

EventSourcedRepositoryAware

  • Full name: \Codefy\Traits\EventSourcedRepositoryAware

Methods

loadAggregateRoot

{@inheritDoc}

public loadAggregateRoot(\Codefy\Domain\Aggregate\AggregateId $aggregateId): \Codefy\Domain\Aggregate\RecordsEvents

Parameters:

Parameter Type Description
$aggregateId \Codefy\Domain\Aggregate\AggregateId

Throws:


saveAggregateRoot

{@inheritDoc}

public saveAggregateRoot(\Codefy\Domain\Aggregate\RecordsEvents $aggregate): void

Parameters:

Parameter Type Description
$aggregate \Codefy\Domain\Aggregate\RecordsEvents


Automatically generated on 2025-10-13