user = $user; $this->album = $album; $this->photo = $photo; $this->comment = $comment; } /** * Build the message. * * @return $this */ public function build() { $subject = trans('email.photo_comment_approved_subject', ['album_name' => $this->album->name]); return $this ->subject($subject) ->markdown(Theme::viewName('email.photo_comment_approved')) ->with([ 'album' => $this->album, 'comment' => $this->comment, 'photo' => $this->photo, 'subject' => $subject, 'user' => $this->user ]); } }