AggregateRepository
- Full name:
\Codefy\Domain\Aggregate\AggregateRepository
Methods
loadAggregateRoot
Loads an aggregate from the given aggregate id.
public loadAggregateRoot(\Codefy\Domain\Aggregate\AggregateId $aggregateId): \Codefy\Domain\Aggregate\RecordsEvents|null
Parameters:
Parameter | Type | Description |
---|---|---|
$aggregateId | \Codefy\Domain\Aggregate\AggregateId |
Throws:
saveAggregateRoot
Persist an aggregate.
Parameters:
Parameter | Type | Description |
---|---|---|
$aggregate | \Codefy\Domain\Aggregate\RecordsEvents |
Automatically generated on 2025-10-13