Ctrl K
ComunidadGuías…

app/Events/ServerReachabilityChanged.php

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
<?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();
    }
}