| 1 | <?php |
||
| 12 | class SingleSender implements SenderContract |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var \Fenos\Notifynder\Builder\Notification |
||
| 16 | */ |
||
| 17 | protected $notification; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * SingleSender constructor. |
||
| 21 | * |
||
| 22 | * @param array $notifications |
||
| 23 | */ |
||
| 24 | public function __construct(array $notifications) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Send the single notification. |
||
| 31 | * |
||
| 32 | * @param SenderManagerContract $sender |
||
| 33 | * @return bool |
||
| 34 | */ |
||
| 35 | public function send(SenderManagerContract $sender) |
||
| 43 | } |
||
| 44 |