Last active
February 24, 2023 23:42
-
-
Save devellopah/2116ee70cbec8562cddbfe83c6a4c9bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\RedirectResponse; | |
use Illuminate\Http\Request; | |
use Inertia\Inertia; | |
use Inertia\Response; | |
class MyController extends Controller | |
{ | |
/** | |
* Display a listing of the resource. | |
*/ | |
public function index(): Response | |
{ | |
return Inertia::render('', [ | |
]); | |
} | |
/** | |
* Show the form for creating a new resource. | |
*/ | |
public function create(): Response | |
{ | |
return Inertia::render('', [ | |
]); | |
} | |
/** | |
* Store a newly created resource in storage. | |
*/ | |
public function store(Request $request): RedirectResponse | |
{ | |
// | |
} | |
/** | |
* Display the specified resource. | |
*/ | |
public function show(string $id): Response | |
{ | |
return Inertia::render('', [ | |
]); | |
} | |
/** | |
* Show the form for editing the specified resource. | |
*/ | |
public function edit(string $id): Response | |
{ | |
return Inertia::render('', [ | |
]); | |
} | |
/** | |
* Update the specified resource in storage. | |
*/ | |
public function update(Request $request, string $id): RedirectResponse | |
{ | |
// | |
} | |
/** | |
* Remove the specified resource from storage. | |
*/ | |
public function destroy(string $id): RedirectResponse | |
{ | |
// | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment