Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4/**
5 * SPDX-FileCopyrightText: 2026 LibreCode coop and contributors
6 * SPDX-License-Identifier: AGPL-3.0-or-later
7 */
8
9namespace OCA\Libresign\Service\Notification;
10
11/** Transport acceptance does not imply that the recipient has read the message. */
12interface NotificationChannel {
13    public function supports(string $channel): bool;
14
15    /** @throws \Exception Transport/preparation failure; unknown results must never be retried automatically. */
16    public function deliver(NotificationMessage $message): void;
17}