Files
DatBrowser/app/Notification/Providers/AllNotification.php
Matthias Guillitte c26a09701a
All checks were successful
Push image to registry / build-image (push) Successful in 4m24s
Allow sending helcase battle to custom discord webhook
2025-03-20 19:28:40 +01:00

21 lines
517 B
PHP

<?php
namespace App\Notification\Providers;
use App\Notification\NotificationProvider;
class AllNotification extends NotificationProvider {
private const NOTIFICATIONS_PROVIDERS = [
DiscordWebHookNotification::class,
];
/**
* @inheritDoc
*/
public static function send(\App\Notification\Notification $notification, array $options = []): void {
foreach (self::NOTIFICATIONS_PROVIDERS as $provider) {
$provider::send($notification, $options);
}
}
}