| Total Complexity | 2 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class PasswordReset extends Mailable |
||
| 10 | { |
||
| 11 | use Queueable, SerializesModels; |
||
|
|
|||
| 12 | |||
| 13 | /** |
||
| 14 | * @var \App\Models\User |
||
| 15 | */ |
||
| 16 | private $user; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | private $newPass; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var mixed |
||
| 25 | */ |
||
| 26 | private $siteEmail; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var mixed |
||
| 30 | */ |
||
| 31 | private $siteTitle; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * PasswordReset constructor. |
||
| 35 | * |
||
| 36 | * @param \App\Models\User $user |
||
| 37 | * @param $newPass |
||
| 38 | */ |
||
| 39 | public function __construct($user, $newPass) |
||
| 40 | { |
||
| 41 | $this->user = $user; |
||
| 42 | $this->newPass = $newPass; |
||
| 43 | $this->siteEmail = config('mail.from.address'); |
||
| 44 | $this->siteTitle = config('app.name'); |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Build the message. |
||
| 49 | * |
||
| 50 | * @return $this |
||
| 51 | * @throws \Exception |
||
| 52 | */ |
||
| 53 | public function build() |
||
| 56 | } |
||
| 57 | } |
||
| 58 |