app/maguttiCms/Notifications/ContactRequest.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): MailMessage
    {
        return (new MailMessage)
            ->subject($this->data['mailSubject'])
            ->replyTo($this->data['email'])
            ->view(['emails.contact.html', 'emails.contact.plain'], ['data' => $this->data]);
    }
public function toMail ( $ notifiable ) : MailMessage { return ( new MailMessage ) -> subject ( $ this -> data [ 'mailSubject' ] ) -> replyTo ( $ this -> data [ 'email' ] ) -> view ( [ 'emails.contact.html' , 'emails.contact.plain' ] , [ 'data' => $ this -> data ] ) ; }
Get the mail representation of the notification.
Get the mail representation of the notification .