app/Notifications/AlertNotification.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('Someone has clicked on your product for hire. Please confirm or decline the offer.')
                    ->action('View Offer', route('hired_products'))
                    ->line('Thank you for choosing Evento!');
    }
public function toMail ( $ notifiable ) { return ( new MailMessage ) -> line ( 'Someone has clicked on your product for hire. Please confirm or decline the offer.' ) -> action ( 'View Offer' , route ( 'hired_products' ) ) -> line ( 'Thank you for choosing Evento!' ) ; }
Get the mail representation of the notification.
Get the mail representation of the notification .