| 1 | <?php |
| 2 | |
| 3 | namespace Illuminate\Contracts\Notifications; |
| 4 | |
| 5 | interface Dispatcher |
| 6 | { |
| 7 | /** |
| 8 | * Send the given notification to the given notifiable entities. |
| 9 | * |
| 10 | * @param \Illuminate\Support\Collection|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|mixed $notifiables |
| 20 | * @param mixed $notification |
| 21 | * @param array|null $channels |
| 22 | * @return void |
| 23 | */ |
| 24 | public function sendNow($notifiables, $notification, ?array $channels = null); |
| 25 | } |