diff --git a/src/EventStore.php b/src/EventStore.php index ef19318..9869f43 100644 --- a/src/EventStore.php +++ b/src/EventStore.php @@ -50,4 +50,20 @@ public function loadEventsByCorrelationId(string $streamName, string $correlatio * @return \Iterator GenericEvent[] */ public function loadEventsByCausationId(string $streamName, string $causationId): \Iterator; + + /** + * @param string $streamName + * @param int $skip + * @param int|null $limit + * @return \Iterator + */ + public function loadStreamEvents(string $streamName, int $skip = 0, int $limit = null): \Iterator; + + /** + * @param string $streamName + * @param int $skip + * @param int|null $limit + * @return \Iterator + */ + public function loadStreamEventsReverse(string $streamName, int $skip = 0, int $limit = null): \Iterator; }