ruạṛ
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; //@deprecated class ResetPasswordNotification extends Notification { // use Queueable; public $token; /** * Create a new notification instance. * * @param string $token */ public function __construct(string $token) { $this->token = $token; } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via($notifiable) { return []; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * */ public function toMail($notifiable) { } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // ]; } }
cải xoăn