@@ -16,9 +16,15 @@ |
||
| 16 | 16 | |
| 17 | 17 | interface EventStore |
| 18 | 18 | { |
| 19 | + /** |
|
| 20 | + * @return void |
|
| 21 | + */ |
|
| 19 | 22 | public function append(Stream $stream) : void; |
| 20 | 23 | |
| 21 | 24 | public function streamOfName(StreamName $name) : Stream; |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @param \DateTimeImmutable $since |
|
| 28 | + */ |
|
| 23 | 29 | public function eventsSince(?\DateTimeInterface $since, int $offset = 0, int $limit = -1) : array; |
| 24 | 30 | } |