| 1 | <?php namespace Arcanesoft\Auth\Notifications\Users; |
||
| 12 | class ResetPassword extends Notification |
||
| 13 | { |
||
| 14 | /* ------------------------------------------------------------------------------------------------ |
||
| 15 | | Properties |
||
| 16 | | ------------------------------------------------------------------------------------------------ |
||
| 17 | */ |
||
| 18 | /** |
||
| 19 | * The password reset token. |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | public $token; |
||
| 24 | |||
| 25 | /* ------------------------------------------------------------------------------------------------ |
||
| 26 | | Constructors |
||
| 27 | | ------------------------------------------------------------------------------------------------ |
||
| 28 | */ |
||
| 29 | /** |
||
| 30 | * Create a notification instance. |
||
| 31 | * |
||
| 32 | * @param string $token |
||
| 33 | */ |
||
| 34 | public function __construct($token) |
||
| 38 | |||
| 39 | /* ------------------------------------------------------------------------------------------------ |
||
| 40 | | Main Functions |
||
| 41 | | ------------------------------------------------------------------------------------------------ |
||
| 42 | */ |
||
| 43 | /** |
||
| 44 | * Get the notification's channels. |
||
| 45 | * |
||
| 46 | * @param mixed $notifiable |
||
| 47 | * |
||
| 48 | * @return array|string |
||
| 49 | */ |
||
| 50 | public function via($notifiable) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Build the mail representation of the notification. |
||
| 57 | * |
||
| 58 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
| 59 | */ |
||
| 60 | public function toMail() |
||
| 67 | } |
||
| 68 |