@@ -16,6 +16,9 @@ |
||
16 | 16 | |
17 | 17 | interface EventStore |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function appendTo(EventStream $events); |
20 | 23 | |
21 | 24 | public function streamOfId(Id $aggregateId) : EventStream; |
@@ -16,6 +16,9 @@ |
||
16 | 16 | |
17 | 17 | interface EventStore |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function appendTo(EventStream $events); |
20 | 23 | |
21 | 24 | public function streamOfId(Id $aggregateId) : EventStream; |
@@ -16,6 +16,9 @@ |
||
16 | 16 | |
17 | 17 | interface EventStore |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function appendTo(EventStream $events); |
20 | 23 | |
21 | 24 | public function streamOfId(Id $aggregateId) : EventStream; |
@@ -16,6 +16,9 @@ |
||
16 | 16 | |
17 | 17 | interface EventStore |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function appendTo(EventStream $events); |
20 | 23 | |
21 | 24 | public function streamOfId(Id $aggregateId) : EventStream; |
@@ -16,5 +16,8 @@ |
||
16 | 16 | |
17 | 17 | interface Resolver |
18 | 18 | { |
19 | + /** |
|
20 | + * @param string $args |
|
21 | + */ |
|
19 | 22 | public function resolve($args); |
20 | 23 | } |
@@ -18,5 +18,8 @@ |
||
18 | 18 | { |
19 | 19 | public function serialize($object) : string; |
20 | 20 | |
21 | + /** |
|
22 | + * @return \Kreta\SharedKernel\Event\AsyncEvent |
|
23 | + */ |
|
21 | 24 | public function deserialize(string $serializedObject); |
22 | 25 | } |
@@ -16,6 +16,9 @@ |
||
16 | 16 | |
17 | 17 | interface EventStore |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function appendTo(EventStream $events); |
20 | 23 | |
21 | 24 | public function streamOfId(Id $aggregateId) : EventStream; |
@@ -16,6 +16,9 @@ |
||
16 | 16 | |
17 | 17 | interface EventStore |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function appendTo(EventStream $events); |
20 | 23 | |
21 | 24 | public function streamOfId(Id $aggregateId) : EventStream; |
@@ -16,6 +16,9 @@ |
||
16 | 16 | |
17 | 17 | interface EventStore |
18 | 18 | { |
19 | + /** |
|
20 | + * @return void |
|
21 | + */ |
|
19 | 22 | public function appendTo(EventStream $events); |
20 | 23 | |
21 | 24 | public function streamOfId(Id $aggregateId) : EventStream; |