From 6f41446d55c502d05aba898cc3de8d334f77c663 Mon Sep 17 00:00:00 2001 From: NoAvatar Date: Thu, 17 Oct 2024 04:53:02 +1000 Subject: [PATCH] Init UserController --- app/Http/Controllers/UserController.php | 53 +++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 app/Http/Controllers/UserController.php diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php new file mode 100644 index 0000000..a11b726 --- /dev/null +++ b/app/Http/Controllers/UserController.php @@ -0,0 +1,53 @@ +json()); + } + + /** + * Display the specified resource. + */ + public function show(string $id) + { + // + return response("User with id " . $id); + } + + /** + * Update the specified resource in storage. + */ + public function update(Request $request, string $id) + { + // + return response("Update user " . $id); + } + + /** + * Remove the specified resource from storage. + */ + public function destroy(string $id) + { + // + return response("Destroy user " . $id); + } +}