Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 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|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 | } |