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\Notification\Domain\Port\Driven; |
| 4 | |
| 5 | use App\Notification\Domain\Model\Notification; |
| 6 | use App\Notification\Domain\Model\NotificationDispatchResult; |
| 7 | |
| 8 | /** |
| 9 | * @author Wilhelm Zwertvaegher |
| 10 | */ |
| 11 | interface NotificationDispatcher |
| 12 | { |
| 13 | /** |
| 14 | * @param Notification $notification |
| 15 | * @return array<NotificationDispatchResult> |
| 16 | */ |
| 17 | public function dispatch(Notification $notification): array; |
| 18 | } |