Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | class MailResetPasswordToken extends Notification |
||
10 | { |
||
11 | use Queueable; |
||
12 | |||
13 | public $token; |
||
14 | |||
15 | /** |
||
16 | * Create a new notification instance. |
||
17 | */ |
||
18 | public function __construct($token) |
||
19 | { |
||
20 | $this->token = $token; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Get the notification's delivery channels. |
||
25 | * |
||
26 | * @return array |
||
27 | */ |
||
28 | public function via() |
||
29 | { |
||
30 | return ['mail']; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Get the mail representation of the notification. |
||
35 | * |
||
36 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
37 | */ |
||
38 | public function toMail() |
||
46 | } |
||
47 | } |
||
48 |