1 | <?php |
||
23 | class Sender implements SenderInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var ProtocolInterface |
||
27 | */ |
||
28 | private $protocol; |
||
29 | |||
30 | /** |
||
31 | * Constructor. |
||
32 | * |
||
33 | * @param ProtocolInterface $protocol |
||
34 | */ |
||
35 | public function __construct(ProtocolInterface $protocol) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function send(Receiver $receiver, Notification $notification, bool $sandbox = false): void |
||
47 | } |
||
48 |