feat: new ServerReachabilityChanged event

This commit is contained in:
peaklabs-dev
2024-12-16 14:05:17 +01:00
parent 1da3febd85
commit e30495a59b

View File

@@ -0,0 +1,17 @@
<?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();
}
}