Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 50% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
15 | trait AnnotatedCommand |
||
16 | { |
||
17 | use AggregateAnnotated; |
||
18 | use FromToNativeTrait; |
||
19 | |||
20 | 1 | public function getKnownAggregateRevision(): AggregateRevision |
|
21 | { |
||
22 | 1 | return $this->{static::getAnnotatedRevision()}; |
|
23 | } |
||
24 | |||
25 | public function hasKnownAggregateRevision(): bool |
||
28 | } |
||
29 | } |
||
30 |