| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 15 | trait AnnotatedEvent |
||
| 16 | { |
||
| 17 | use AggregateAnnotated; |
||
| 18 | use FromToNativeTrait; |
||
| 19 | |||
| 20 | 2 | public function getAggregateRevision(): AggregateRevision |
|
| 21 | { |
||
| 22 | 2 | return $this->{static::getAnnotatedRevision()}; |
|
| 23 | } |
||
| 24 | |||
| 25 | /** @return static */ |
||
| 26 | 1 | public function withAggregateRevision(AggregateRevision $aggregateRevision): self |
|
| 32 | } |
||
| 33 | } |
||
| 34 |