| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | <?php
 namespace Illuminate\Contracts\Notifications;
 
 interface Dispatcher
 {
 /**
 * Send the given notification to the given notifiable entities.
 *
 * @param  \Illuminate\Support\Collection|array|mixed  $notifiables
 * @param  mixed  $notification
 * @return void
 */
 public function send($notifiables, $notification);
 
 /**
 * Send the given notification immediately.
 *
 * @param  \Illuminate\Support\Collection|array|mixed  $notifiables
 * @param  mixed  $notification
 * @return void
 */
 public function sendNow($notifiables, $notification);
 }
 
 |