Files
coolify/app/Events/ServerReachabilityChanged.php
2024-12-23 16:51:34 +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();
}
}