protected function buildMessage($mailMessage, $notifiable, $notification, $message)
    {
        $this->addressMessage($mailMessage, $notifiable, $notification, $message);

        $mailMessage->subject($message->subject ?: Str::title(
            Str::snake(class_basename($notification), ' ')
        ));

        $this->addAttachments($mailMessage, $message);

        if (! is_null($message->priority)) {
            $mailMessage->setPriority($message->priority);
        }
    }
protected function buildMessage($mailMessage, $notifiable, $notification, $message)
    {
        $this->addressMessage($mailMessage, $notifiable, $notification, $message);

        $mailMessage->subject($message->subject ?: Str::title(
            Str::snake(class_basename($notification), ' ')
        ));

        $this->addAttachments($mailMessage, $message);

        if (! is_null($message->priority)) {
            $mailMessage->setPriority($message->priority);
        }
    }
protected function buildMessage ( $ mailMessage , $ notifiable , $ notification , $ message ) { $ this -> addressMessage ( $ mailMessage , $ notifiable , $ notification , $ message ) ; $ mailMessage -> subject ( $ message -> subject ? : Str :: title ( Str :: snake ( class_basename ( $ notification ) , ' ' ) ) ) ; $ this -> addAttachments ( $ mailMessage , $ message ) ; if ( ! is_null ( $ message -> priority ) ) { $ mailMessage -> setPriority ( $ message -> priority ) ; } }
Build the mail message.

@param  \Illuminate\Mail\Message  $mailMessage
@param  mixed  $notifiable
@param  \Illuminate\Notifications\Notification  $notification
@param  \Illuminate\Notifications\Messages\MailMessage  $message
@return void
Build the mail message .