app/Notifications/OrderAcceptedNotification.php
/**
     * Get the mail representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return \Illuminate\Notifications\Messages\MailMessage
     */
Get the mail representation of the notification.
@param  mixed  $notifiable
@return \Illuminate\Notifications\Messages\MailMessage
Get the mail representation of the notification . @param mixed $notifiable @return \ Illuminate \ Notifications \ Messages \ MailMessage
public function toMail($notifiable)
    {
        $newTime = Carbon::now()->addMinutes($this->time);
        return (new MailMessage)
            ->line('Your Order has been Accepted Successfully. Your Order Will be delivered at ' . $newTime->toTimeString())
            ->line('Thank you for choosing Cookies Delight!');
    }
public function toMail ( $ notifiable ) { $ newTime = Carbon :: now ( ) -> addMinutes ( $ this -> time ) ; return ( new MailMessage ) -> line ( 'Your Order has been Accepted Successfully. Your Order Will be delivered at ' . $ newTime -> toTimeString ( ) ) -> line ( 'Thank you for choosing Cookies Delight!' ) ; }
Get the mail representation of the notification.
Get the mail representation of the notification .