app/Notifications/UsersViewNotification.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)
                    ->subject('Fantasy Marketing Notification')
                    ->line($this->message)
                    ->action('Login',URL::route('login'))
                    ->line('Thank you for using our application!');
    }
public function toMail ( $ notifiable ) { return ( new MailMessage ) -> subject ( 'Fantasy Marketing Notification' ) -> line ( $ this -> message ) -> action ( 'Login' , URL :: route ( 'login' ) ) -> line ( 'Thank you for using our application!' ) ; }
Get the mail representation of the notification.
Get the mail representation of the notification .