1 | <?php |
||
8 | abstract class AbstractEvent implements EventInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var mixed |
||
12 | */ |
||
13 | private $aggregateRootId; |
||
14 | |||
15 | /** |
||
16 | * @param mixed $aggregateRootId |
||
17 | * |
||
18 | * @throws RuntimeException When setting an aggregate id where one already exists. |
||
19 | */ |
||
20 | public function setAggregateRootId($aggregateRootId) |
||
34 | |||
35 | /** |
||
36 | * @return mixed |
||
37 | */ |
||
38 | public function getAggregateRootId() |
||
42 | } |
||
43 |