class HealthCheckController

The shared response and cancellation boundary for framework health routes.

Methods

__construct(Application $app, Dispatcher $events, ExceptionHandler $exceptions, ResponseFactory $responses, Factory $views)

Create a new health check controller instance.

Response
__invoke(Request $request)

Run the application health check.

Details

at line 26
__construct(Application $app, Dispatcher $events, ExceptionHandler $exceptions, ResponseFactory $responses, Factory $views)

Create a new health check controller instance.

Parameters

Application $app
Dispatcher $events
ExceptionHandler $exceptions
ResponseFactory $responses
Factory $views

at line 40
Response __invoke(Request $request)

Run the application health check.

Parameters

Request $request

Return Value

Response

Exceptions

Throwable