*/ public function backoff(): array { return [10, 30, 60, 300]; } public function __construct( private readonly OrderReminderDto $dto ) { } /** * Get the notification's delivery channels. * * @return array */ public function via(mixed $notifiable): array { return ['mail']; } /** * Get the mail representation of the notification. */ public function toMail(mixed $notifiable): MailMessage { return new MailMessage() ->subject(trans('You have an order to collect today - :appname', [ 'appname' => config()->string('app.name'), ])) ->markdown('emails.order-reminder', [ 'dto' => $this->dto, ]); } }