- Full name:
\App\Infrastructure\Persistence\Trait\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}
Parameters:
| Parameter | Type | Description |
|---|---|---|
$aggregate |
\Codefy\Domain\Aggregate\RecordsEvents |