Files
coolify/app/Events/ServerReachabilityChanged.php
2024-12-16 14:05:17 +01:00

18 lines
291 B
PHP

<?php
namespace App\Events;
use App\Models\Server;
use Illuminate\Foundation\Events\Dispatchable;
class ServerReachabilityChanged
{
use Dispatchable;
public function __construct(
public readonly Server $server
) {
$this->server->isReachableChanged();
}
}