Dispatcher.php 612B

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