Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | trait AggregateBehaviour |
||
22 | { |
||
23 | /** |
||
24 | * @var Identity |
||
25 | */ |
||
26 | private $identity; |
||
27 | |||
28 | /** |
||
29 | * @var AggregateVersion |
||
30 | */ |
||
31 | private $version; |
||
32 | |||
33 | /** |
||
34 | * Get aggregate identity. |
||
35 | * |
||
36 | * @return Identity |
||
37 | */ |
||
38 | final public function getIdentity(): Identity |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * Get version. |
||
45 | * |
||
46 | * @return AggregateVersion |
||
47 | */ |
||
48 | final public function getVersion(): AggregateVersion |
||
53 |