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 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 | */ |
| 17 | interface DomainEventHandler extends MessageHandler |
| 18 | { |
| 19 | |
| 20 | } |
Below are the source code lines that represent each code path as identified by Xdebug. Please note a path is not
necessarily coterminous with a line, a line may contain multiple paths and therefore show up more than once.
Please also be aware that some paths may include implicit rather than explicit branches, 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 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 | */ |
| 17 | interface DomainEventHandler extends MessageHandler |
| 18 | { |
| 19 |