blob: a483ca27c2531845b156dac7bec23b96229d9b4f [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Illuminate\Contracts\Notifications;
4
5interface Dispatcher
6{
7 /**
8 * Send the given notification to the given notifiable entities.
9 *
10 * @param \Illuminate\Support\Collection|array|mixed $notifiables
11 * @param mixed $notification
12 * @return void
13 */
14 public function send($notifiables, $notification);
15
16 /**
17 * Send the given notification immediately.
18 *
19 * @param \Illuminate\Support\Collection|array|mixed $notifiables
20 * @param mixed $notification
21 * @return void
22 */
23 public function sendNow($notifiables, $notification);
24}