1 | <?php |
||
12 | class MemberPasswordResetNotification extends Notification implements ShouldQueue |
||
13 | { |
||
14 | use Queueable; |
||
15 | |||
16 | /** |
||
17 | * The password reset token. |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | public $token; |
||
22 | |||
23 | /** |
||
24 | * The password reset expiration date. |
||
25 | * |
||
26 | * @var int |
||
27 | */ |
||
28 | public $expiration; |
||
29 | |||
30 | /** |
||
31 | * Create a notification instance. |
||
32 | * |
||
33 | * @param string $token |
||
34 | * @param int $expiration |
||
35 | */ |
||
36 | public function __construct(string $token, int $expiration) |
||
41 | |||
42 | /** |
||
43 | * Get the notification's channels. |
||
44 | * |
||
45 | * @param mixed $notifiable |
||
46 | * |
||
47 | * @return array|string |
||
48 | */ |
||
49 | public function via($notifiable) |
||
53 | |||
54 | /** |
||
55 | * Build the mail representation of the notification. |
||
56 | * |
||
57 | * @param mixed $notifiable |
||
58 | * |
||
59 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
60 | */ |
||
61 | public function toMail($notifiable): MailMessage |
||
72 | } |
||
73 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.