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 MyLegoCollection\SharedContracts\Command\Command;
7
8/**
9 * @template T of Command
10 * @extends MessageHandler<T>
11 * Interface that must be implemented by all command handlers in infrastructures
12 * This will allow writing tests that check a specific mandatory command handler exists in a slice/module,
13 * which can also be seen as self documentation / integrity check
14 *
15 * @author Wilhelm Zwertvaegher
16 */
17interface CommandHandler extends MessageHandler
18{
19
20}