Lae/app/Http/Controllers/Admin/HostController.php
2022-11-18 18:50:28 +08:00

89 lines
1.7 KiB
PHP

<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Host;
use Illuminate\Http\Request;
class HostController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Host $host)
{
$hosts = $host->paginate(100);
return view('admin.hosts.index', compact('hosts'));
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
//
}
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
//
}
/**
* Display the specified resource.
*
* @param \App\Models\Host $host
* @return \Illuminate\Http\Response
*/
public function show(Host $host)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param \App\Models\Host $host
* @return \Illuminate\Http\Response
*/
public function edit(Host $host)
{
//
}
/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param \App\Models\Host $host
* @return \Illuminate\Http\Response
*/
public function update(Request $request, Host $host)
{
//
}
/**
* Remove the specified resource from storage.
*
* @param \App\Models\Host $host
* @return \Illuminate\Http\Response
*/
public function destroy(Host $host)
{
//
}
}