| Total Complexity | 9 |
| Total Lines | 62 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class UnisenderChannel |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var UnisenderApi |
||
| 11 | */ |
||
| 12 | protected $api; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * UnisenderChannel constructor. |
||
| 16 | * |
||
| 17 | * @param UnisenderApi $api |
||
| 18 | */ |
||
| 19 | public function __construct(UnisenderApi $api) |
||
| 20 | { |
||
| 21 | $this->api = $api; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param mixed $notifiable |
||
| 26 | * @param Notification $notification |
||
| 27 | * |
||
| 28 | * @return mixed |
||
| 29 | */ |
||
| 30 | public function send($notifiable, Notification $notification) |
||
| 52 | } |
||
| 53 | |||
| 54 | protected function sendMessage(UnisenderMessage $message) |
||
| 69 | } |
||
| 70 | } |
||
| 71 |