27 行
707 B
PHP
27 行
707 B
PHP
<?php
|
|
|
|
namespace App\Mail;
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Mail\Mailable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class FathersApprovalMail extends Mailable {
|
|
use Queueable, SerializesModels;
|
|
private $father;
|
|
private $meeting_id;
|
|
|
|
public function __construct ($father, $meeting_id) {
|
|
$this->father = $father;
|
|
$this->meeting_id = $meeting_id;
|
|
}
|
|
|
|
public function build () {
|
|
return $this->subject('KIKI運営事務局からのお知らせ')->text('emails.fathers.approval', [
|
|
'father' => $this->father,
|
|
'url' => '/c-account/meeting/detail/'.$this->meeting_id,
|
|
]);
|
|
}
|
|
}
|