2019-03-01 06:13:49 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Mail;
|
|
|
|
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
|
|
use Illuminate\Mail\Mailable;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
|
|
|
|
|
|
class PasswordChange extends Mailable
|
|
|
|
{
|
|
|
|
use Queueable, SerializesModels;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new message instance.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2020-08-25 05:36:12 +00:00
|
|
|
public function __construct($user)
|
2019-03-01 06:13:49 +00:00
|
|
|
{
|
2020-08-25 05:36:12 +00:00
|
|
|
$this->user = $user;
|
2019-03-01 06:13:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Build the message.
|
|
|
|
*
|
|
|
|
* @return $this
|
|
|
|
*/
|
|
|
|
public function build()
|
|
|
|
{
|
2020-08-25 05:36:12 +00:00
|
|
|
return $this->with([
|
|
|
|
'user' => $this->user
|
|
|
|
])->markdown('emails.notification.password_change');
|
2019-03-01 06:13:49 +00:00
|
|
|
}
|
|
|
|
}
|