lasthourcloud/app/Notifications/Internal/GeneralNotification.php
Andras Bacsai e7c0c26b32 fix: stripe
add: custom error pages
fix: invititation
feat: new quick login for first users (UX++)
feat: more internal notifications
2023-09-06 12:07:34 +02:00

28 lines
561 B
PHP

<?php
namespace App\Notifications\Internal;
use App\Notifications\Channels\DiscordChannel;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Notification;
class GeneralNotification extends Notification implements ShouldQueue
{
use Queueable;
public function __construct(public string $message)
{
}
public function via(object $notifiable): array
{
return [DiscordChannel::class];
}
public function toDiscord(): string
{
return $this->message;
}
}