@@ -16,5 +16,8 @@ |
||
| 16 | 16 | |
| 17 | 17 | interface CommandBus |
| 18 | 18 | { |
| 19 | + /** |
|
| 20 | + * @return void |
|
| 21 | + */ |
|
| 19 | 22 | public function handle($command) : void; |
| 20 | 23 | } |
@@ -16,5 +16,8 @@ |
||
| 16 | 16 | |
| 17 | 17 | interface QueryBus |
| 18 | 18 | { |
| 19 | + /** |
|
| 20 | + * @return void |
|
| 21 | + */ |
|
| 19 | 22 | public function handle($query, &$result) : void; |
| 20 | 23 | } |
@@ -18,5 +18,8 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface AsyncEventSubscriber |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function handle(AsyncDomainEvent $event) : void; |
| 22 | 25 | } |
@@ -18,6 +18,9 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface EventStore |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function appendTo(EventStream $events) : void; |
| 22 | 25 | |
| 23 | 26 | public function streamOfId(Id $aggregateId) : EventStream; |