Files
DatBrowser/app/Notification/Providers/AllNotification.php
Matthias Guillitte 6a95653c52
All checks were successful
Push image to registry / build-image (push) Successful in 5m20s
Added notification on job fail
2025-03-01 15:12:15 +01:00

21 lines
486 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): void {
foreach (self::NOTIFICATIONS_PROVIDERS as $provider) {
$provider::send($notification);
}
}
}