芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/app/Notifications/Message/Replied.php
reply = $reply; $this->receiver = $receiver; } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via($notifiable) { return ['mail']; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) { $repliable = $this->reply->repliable; $message = (new MailMessage) ->from(get_sender_email(), get_sender_name($repliable->shop_id)) ->subject(trans('notifications.message_replied.subject', [ 'user' => $this->reply->user->getName(), 'subject' => $repliable->subject ]))->replyTo(get_sender_email($repliable->shop_id)); return $message->markdown('admin.mail.message.replied', [ 'url' => route('admin.support.message.show', $this->reply->repliable_id), 'reply' => $this->reply, 'receiver' => $this->receiver ]); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // ]; } }