2020-10-27 16:04:28 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Notifications;
|
|
|
|
|
|
|
|
use Illuminate\Bus\Queueable;
|
|
|
|
use Illuminate\Notifications\Messages\MailMessage;
|
|
|
|
use Illuminate\Notifications\Notification;
|
|
|
|
|
2021-02-15 00:39:40 +01:00
|
|
|
//@deprecated
|
2020-10-27 16:04:28 +01:00
|
|
|
class ResetPasswordNotification extends Notification
|
|
|
|
{
|
2021-02-11 13:58:36 +01:00
|
|
|
// use Queueable;
|
2020-10-27 16:04:28 +01:00
|
|
|
|
|
|
|
public $token;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new notification instance.
|
|
|
|
*
|
2020-10-28 11:10:49 +01:00
|
|
|
* @param string $token
|
2020-10-27 16:04:28 +01:00
|
|
|
*/
|
|
|
|
public function __construct(string $token)
|
|
|
|
{
|
|
|
|
$this->token = $token;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the notification's delivery channels.
|
|
|
|
*
|
|
|
|
* @param mixed $notifiable
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function via($notifiable)
|
|
|
|
{
|
2021-02-15 00:39:40 +01:00
|
|
|
return [];
|
2020-10-27 16:04:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the mail representation of the notification.
|
|
|
|
*
|
|
|
|
* @param mixed $notifiable
|
2023-08-01 12:30:47 +02:00
|
|
|
*
|
2020-10-27 16:04:28 +01:00
|
|
|
*/
|
|
|
|
public function toMail($notifiable)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the array representation of the notification.
|
|
|
|
*
|
|
|
|
* @param mixed $notifiable
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function toArray($notifiable)
|
|
|
|
{
|
|
|
|
return [
|
|
|
|
//
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|