コード例 #1
0
ファイル: BorrowerMailer.php プロジェクト: Junyue/zidisha2
 public function sendBorrowerJoinedVolunteerMentorConfirmationMail(Borrower $borrower)
 {
     $subject = \Lang::get('borrowerJoin.emails.subject.volunteer-mentor-confirmation', ['name' => $borrower->getName()]);
     $data = ['borrower' => $borrower, 'to' => $borrower->getVolunteerMentor()->getBorrowerVolunteer()->getUser()->getEmail(), 'from' => '*****@*****.**', 'subject' => $subject];
     $this->mailer->send('emails.borrower.join.volunteer-mentor-confirmation', $data);
 }