feat: new ServerReachabilityChanged event
This commit is contained in:
17
app/Events/ServerReachabilityChanged.php
Normal file
17
app/Events/ServerReachabilityChanged.php
Normal 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();
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user