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\Infrastructure\Sender; |
| 4 | |
| 5 | use App\Notification\Domain\Model\Notification; |
| 6 | use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag; |
| 7 | |
| 8 | /** |
| 9 | * @author Wilhelm Zwertvaegher |
| 10 | */ |
| 11 | #[AutoconfigureTag('app.notification_sender')] |
| 12 | interface NotificationSender |
| 13 | { |
| 14 | public function supports(Notification $notification): bool; |
| 15 | |
| 16 | /** |
| 17 | * @param Notification $notification |
| 18 | * @return NotificationSenderResult |
| 19 | */ |
| 20 | public function send(Notification $notification): NotificationSenderResult; |
| 21 | |
| 22 | public function getName(): string; |
| 23 | } |