1 | <?php |
||
22 | class ConfirmEmailNotification extends Notification |
||
23 | { |
||
24 | use Queueable; |
||
25 | |||
26 | /** |
||
27 | * @var User |
||
28 | */ |
||
29 | private $user; |
||
30 | |||
31 | /** |
||
32 | * @var JWTInterface |
||
33 | */ |
||
34 | private $jwt; |
||
35 | |||
36 | /** |
||
37 | * ConfirmEmailNotification constructor. |
||
38 | * |
||
39 | * @param User $user |
||
40 | * @param JWTInterface $jwt |
||
41 | */ |
||
42 | public function __construct(User $user, JWTInterface $jwt) |
||
47 | |||
48 | /** |
||
49 | * Get the notification's delivery channels. |
||
50 | */ |
||
51 | public function via($notifiable): array |
||
55 | |||
56 | /** |
||
57 | * Get the mail representation of the notification. |
||
58 | * |
||
59 | * @param mixed $notifiable |
||
60 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
61 | */ |
||
62 | public function toMail($notifiable) |
||
76 | |||
77 | /** |
||
78 | * @return array |
||
79 | */ |
||
80 | private function createToken(): array |
||
86 | |||
87 | /** |
||
88 | * Get the array representation of the notification. |
||
89 | * |
||
90 | * @param mixed $notifiable |
||
91 | * @return array |
||
92 | */ |
||
93 | public function toArray($notifiable) |
||
99 | } |
||
100 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.