protected function buildSubject($message)
    {
        if ($this->subject) {
            $message->subject($this->subject);
        } else {
            $message->subject(Str::title(Str::snake(class_basename($this), ' ')));
        }

        return $this;
    }
protected function buildSubject($message)
    {
        if ($this->subject) {
            $message->subject($this->subject);
        } else {
            $message->subject(Str::title(Str::snake(class_basename($this), ' ')));
        }

        return $this;
    }
protected function buildSubject ( $ message ) { if ( $ this -> subject ) { $ message -> subject ( $ this -> subject ) ; } else { $ message -> subject ( Str :: title ( Str :: snake ( class_basename ( $ this ) , ' ' ) ) ) ; } return $ this ; }
Set the subject for the message.

@param  \Illuminate\Mail\Message  $message
@return $this
Set the subject for the message .