Files
UNIT3D-Community-Edition/app/Notifications/UserBanExpire.php
T
2022-01-10 18:43:23 -05:00

40 lines
893 B
PHP

<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
class UserBanExpire extends Notification
{
use Queueable;
/**
* Create a new notification instance.
*/
public function __construct()
{
}
/**
* Get the notification's delivery channels.
*/
public function via($notifiable): array
{
return ['mail'];
}
/**
* Get the mail representation of the notification.
*/
public function toMail($notifiable): MailMessage
{
return (new MailMessage())
->greeting('You have been unbanned 🤩')
->line('You have been unbanned from '.config('other.title'))
->line('Thank you for using 🚀'.config('other.title'));
}
}