1 | <?php |
||
8 | class DummyIncrementCommand implements Command |
||
9 | { |
||
10 | /** |
||
11 | * @var AggregateRootId |
||
12 | */ |
||
13 | private $aggregateRootId; |
||
14 | |||
15 | public function __construct(AggregateRootId $aggregateRootId) |
||
16 | { |
||
17 | $this->aggregateRootId = $aggregateRootId; |
||
18 | } |
||
19 | |||
20 | public function aggregateRootId(): AggregateRootId |
||
21 | { |
||
22 | return $this->aggregateRootId; |
||
23 | } |
||
24 | } |