18 lines
388 B
PHP
18 lines
388 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Web\Admin;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\Hosting\Health\SystemHealthService;
|
|
use Illuminate\View\View;
|
|
|
|
class SystemHealthController extends Controller
|
|
{
|
|
public function __invoke(SystemHealthService $health): View
|
|
{
|
|
return view('admin.health', [
|
|
'checks' => $health->checks(),
|
|
]);
|
|
}
|
|
}
|