Skip to content

Commit a8aebde

Browse files
Jeroen de Graafjerowork
authored andcommitted
Add CommandBus contract
Required for the new Saga feature
1 parent 6e962f1 commit a8aebde

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Gember\DependencyContracts\Util\Messaging\MessageBus;
6+
7+
interface CommandBus
8+
{
9+
/**
10+
* @throws HandlingMessageFailedException
11+
*/
12+
public function handle(object $command): void;
13+
}

0 commit comments

Comments
 (0)