SendOrderUpdateNotification.php 976 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. namespace App\Notifications;
  3. use App\Channels\SendMiniChannel;
  4. use Illuminate\Bus\Queueable;
  5. use Illuminate\Notifications\Notification;
  6. use Illuminate\Contracts\Queue\ShouldQueue;
  7. use Illuminate\Notifications\Messages\MailMessage;
  8. class SendOrderUpdateNotification extends Notification
  9. {
  10. use Queueable;
  11. /**
  12. * Create a new notification instance.
  13. *
  14. * @return void
  15. */
  16. public function __construct()
  17. {
  18. //
  19. }
  20. /**
  21. * Get the notification's delivery channels.
  22. *
  23. * @param mixed $notifiable
  24. * @return array
  25. */
  26. public function via($notifiable)
  27. {
  28. return [SendMiniChannel::class];
  29. }
  30. public function toSendMini($notifiable)
  31. {
  32. }
  33. /**
  34. * Get the array representation of the notification.
  35. *
  36. * @param mixed $notifiable
  37. * @return array
  38. */
  39. public function toArray($notifiable)
  40. {
  41. return [
  42. //
  43. ];
  44. }
  45. }