1 | <?php |
||
13 | final class SendingNotificationFailed extends RuntimeException implements NotifierChannelException |
||
14 | { |
||
15 | /** @var string */ |
||
16 | private $channelName; |
||
17 | |||
18 | /** @var Notification */ |
||
19 | private $notification; |
||
20 | |||
21 | /** @var Recipient */ |
||
22 | private $recipient; |
||
23 | |||
24 | 2 | public static function for(string $channelName, Notification $notification, Recipient $recipient, Throwable $error): self |
|
38 | |||
39 | 2 | public function getChannelName(): string |
|
43 | |||
44 | 2 | public function getNotification(): Notification |
|
48 | |||
49 | 2 | public function getRecipient(): Recipient |
|
53 | } |
||
54 |