vendor/macpaw/symfony-health-check-bundle/src/Controller/HealthController.php line 19

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace SymfonyHealthCheckBundle\Controller;
  4. use Symfony\Component\HttpFoundation\JsonResponse;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. final class HealthController extends BaseController
  7. {
  8. /**
  9. * @Route(
  10. * path="/health",
  11. * name="health",
  12. * methods={"GET"}
  13. * )
  14. */
  15. public function check(): JsonResponse
  16. {
  17. return $this->checkAction();
  18. }
  19. }