src/Controller/HealthController.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Component\HttpFoundation\Response;
  4. use Symfony\Component\Routing\Annotation\Route;
  5. class HealthController
  6. {
  7.     /**
  8.      * @Route("/health", name="health_check")
  9.      */
  10.     public function healthCheck(): Response
  11.     {
  12.         return new Response('OK'Response::HTTP_OK);
  13.     }
  14. }