File: /home/xedaptot/ai.naniguide.com/app/Notifications/System/SystemUrlMismatch.php
<?php
namespace App\Notifications\System;
use App\Notifications\AppNotification;
class SystemUrlMismatch extends AppNotification
{
public function __construct(public string $current, public string $cached) {}
public function audience(): string { return self::AUDIENCE_ADMINS; }
public function category(): string { return self::CATEGORY_ALERT; }
public function severity(): string { return self::SEVERITY_WARNING; }
public function groupKey(): string { return 'system-url-mismatch'; }
public function toArray(object $notifiable = null): array
{
return [
'title' => trans('messages.admin.notification.system_url_title'),
'body' => trans('messages.admin.notification.system_url_not_match', [
'cached' => $this->cached,
'current' => $this->current,
]),
];
}
}