| 1 | <?php |
||
| 8 | class HooksChannel |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var Hooks |
||
| 12 | */ |
||
| 13 | protected $hooks; |
||
| 14 | |||
| 15 | public function __construct(Hooks $hooks) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Send the given notification. |
||
| 22 | * |
||
| 23 | * @param mixed $notifiable |
||
| 24 | * @param \Illuminate\Notifications\Notification $notification |
||
| 25 | * |
||
| 26 | * @throws \NotificationChannels\Hooks\Exceptions\CouldNotSendNotification |
||
| 27 | */ |
||
| 28 | public function send($notifiable, Notification $notification) |
||
| 42 | } |
||
| 43 |