Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Shared\Infrastructure\EventHandler; |
| 4 | |
| 5 | |
| 6 | use MyLegoCollection\SharedContracts\Event\IntegrationEvent; |
| 7 | |
| 8 | /** |
| 9 | * @template T of IntegrationEvent |
| 10 | * @extends MessageHandler<T> |
| 11 | * Interface that must be implemented by all integration event handlers in infrastructures |
| 12 | * This will allow writing tests that check a specific mandatory event handler exists in a slice/module, |
| 13 | * which can also be seen as self documentation / integrity check |
| 14 | * |
| 15 | * @author Wilhelm Zwertvaegher |
| 16 | */ |
| 17 | interface IntegrationEventHandler extends MessageHandler |
| 18 | { |
| 19 | |
| 20 | } |