| 1 | <?php |
||
| 8 | class AbstractEventStoreDecorator implements EventStoreInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var EventStoreInterface |
||
| 12 | */ |
||
| 13 | private $eventStore; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * AbstractEventStoreDecorator constructor. |
||
| 17 | * @param EventStoreInterface $eventStore |
||
| 18 | */ |
||
| 19 | public function __construct(EventStoreInterface $eventStore) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritdoc |
||
| 26 | */ |
||
| 27 | public function load($id) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritdoc |
||
| 34 | */ |
||
| 35 | public function append($id, DomainEventStreamInterface $eventStream) |
||
| 39 | } |
||
| 40 |