feat: new ServerReachabilityChanged event
This commit is contained in:
parent
1da3febd85
commit
e30495a59b
1 changed files with 17 additions and 0 deletions
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();
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue