app/Notifications/NewBookSold.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)
    {
        return (new MailMessage)
                    ->line('Your book sold one more time')
                    ->action('view Yourbook',route('pbookshow',$this->pbook->id))
                    ->line('Thank you for using our application!');
    }
public function toMail ( $ notifiable ) { return ( new MailMessage ) -> line ( 'Your book sold one more time' ) -> action ( 'view Yourbook' , route ( 'pbookshow' , $ this -> pbook -> id ) ) -> line ( 'Thank you for using our application!' ) ; }
Get the mail representation of the notification.
Get the mail representation of the notification .