| Total Complexity | 3 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class ResetPasswordNotification extends Notification implements ShouldQueue |
||
| 12 | { |
||
| 13 | use Queueable; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * The number of times the job may be attempted. |
||
| 17 | * |
||
| 18 | * @var integer |
||
| 19 | */ |
||
| 20 | public $tries = 5; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The password reset token. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | public $token; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Create a notification instance. |
||
| 31 | * |
||
| 32 | * @param string $token |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function __construct($token) |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get the notification's delivery channels. |
||
| 42 | * |
||
| 43 | * @param mixed $notifiable |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | public function via($notifiable) |
||
| 47 | { |
||
| 48 | return ['mail']; |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Get the mail representation of the notification. |
||
| 53 | * |
||
| 54 | * @param mixed $notifiable |
||
| 55 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
| 56 | */ |
||
| 57 | public function toMail($notifiable) |
||
| 66 | } |
||
| 67 | } |
||
| 68 |