Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class AggregateAccessor extends Accessor |
||
12 | { |
||
13 | /** @var AggregateAccessor $instance */ |
||
14 | protected static $instance; |
||
15 | |||
16 | /** |
||
17 | * @param mixed $value |
||
18 | */ |
||
19 | public function setAggregateId(AggregateRootInterface &$aggregateRoot, $value) : void |
||
20 | { |
||
21 | $this->writeProperty($aggregateRoot, 'aggregateId', $value); |
||
22 | } |
||
23 | |||
24 | public function setVersionSequence(AggregateRootInterface &$aggregateRoot, int $value) : void |
||
27 | } |
||
28 | |||
29 | public function shiftEvent(AggregateRootInterface &$aggregateRoot) : ?EventInterface |
||
40 |