initial commit
This commit is contained in:
17
app/Http/Controllers/Web/Admin/SystemHealthController.php
Normal file
17
app/Http/Controllers/Web/Admin/SystemHealthController.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user