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
3namespace App\Shared\Infrastructure\EventHandler;
4
5
6use App\Shared\Domain\Event\DomainEvent;
7
8/**
9 * @template T of DomainEvent
10 * @extends MessageHandler<T>
11 * Interface that must be implemented by all domain 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 */
17interface DomainEventHandler extends MessageHandler
18{
19
20}