Created
November 25, 2023 19:37
-
-
Save MrHDOLEK/21fb835ffa59cacae6e66e39c6aa3434 to your computer and use it in GitHub Desktop.
PingController
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 | |
declare(strict_types=1); | |
class PingController extends Controller | |
{ | |
/** | |
* Check if the service is responsive. | |
*/ | |
public function index(): JsonResponse | |
{ | |
return response()->json("success", Response::HTTP_OK); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment