lasthourcloud/app/Livewire/CommandCenter/Index.php
2024-06-10 20:43:34 +00:00

22 lines
346 B
PHP

<?php
namespace App\Livewire\CommandCenter;
use App\Models\Server;
use Livewire\Component;
class Index extends Component
{
public $servers = [];
public function mount()
{
$this->servers = Server::isReachable()->get();
}
public function render()
{
return view('livewire.command-center.index');
}
}