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\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 | */ |
| 17 | interface CommandHandler extends MessageHandler |
| 18 | { |
| 19 | |
| 20 | } |
Below are the source code lines that represent each code branch as identified by Xdebug. Please note a branch is not
necessarily coterminous with a line, a line may contain multiple branches and therefore show up more than once.
Please also be aware that some branches may be implicit rather than explicit, e.g. an if statement
always has an else as part of its logical flow even if you didn't write one.
| 3 | namespace App\Shared\Infrastructure\EventHandler; |
| 4 | |
| 5 | |
| 6 | use 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 | */ |
| 17 | interface CommandHandler extends MessageHandler |
| 18 | { |
| 19 |