coolify/app/Events/ServerReachabilityChanged.php

18 lines
291 B
PHP
Raw Permalink Normal View History

2024-12-23 15:51:34 +00:00
<?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();
}
}