| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 3 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php declare(strict_types=1); |
||
| 15 | final class UnresolvableConflict extends RuntimeException |
||
| 16 | { |
||
| 17 | private AggregateIdInterface $aggregateId; |
||
| 18 | |||
| 19 | private DomainEventSequenceInterface $conflictingEvents; |
||
| 20 | |||
| 21 | public function __construct(AggregateIdInterface $aggregateId, DomainEventSequenceInterface $conflictingEvents) |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getAggregateId(): AggregateIdInterface |
||
| 29 | { |
||
| 30 | return $this->aggregateId; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getConflictingEvents(): DomainEventSequenceInterface |
||
| 36 | } |
||
| 37 | } |
||
| 38 |