Kernel

interface Kernel (View source)

Methods

void bootstrap()

Bootstrap the application for HTTP requests.

Response handle(Request $request)

Handle an incoming HTTP request.

void terminate(Request $request, Response $response)

Perform any final actions for the request lifecycle.

Application getApplication()

Get the Laravel application instance.

Details

void bootstrap()

Bootstrap the application for HTTP requests.

Return Value

void

Response handle(Request $request)

Handle an incoming HTTP request.

Parameters

Request $request

Return Value

Response

void terminate(Request $request, Response $response)

Perform any final actions for the request lifecycle.

Parameters

Request $request
Response $response

Return Value

void

Application getApplication()

Get the Laravel application instance.

Return Value

Application

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Contracts/Http/Kernel.html