芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/app/Notifications/Shop/ShopIsLive.php
shop = $shop; } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via($notifiable) { return ['mail', 'database']; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) { return (new MailMessage) ->from(get_sender_email(), get_sender_name()) ->subject(trans('notifications.shop_is_live.subject', ['merchant' => optional($this->shop->owner)->getName()])) ->markdown('admin.mail.shop.is_live', ['url' => route('login'), 'shop' => $this->shop]); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // 'user' => auth()->user()->getName(), 'name' => $this->shop->name, 'status' => trans('messages.shop_is_live'), ]; } }