Skip to content

Commit

Permalink
Highlight middleware keyword in lifecycle.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-voronin committed Nov 10, 2014
1 parent 9fd8d0d commit 4f34506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Next, the incoming request is sent to either the HTTP kernel or the console kern

The HTTP kernel extends the `Illuminate\Foundation\Http\Kernel` class, which defines an array of `bootstrappers` that will be run before the request is executed. These bootstrappers configure error handling, configure logging, detect the application environment, and other tasks that need to be done before the request is actually handled.

The HTTP kernel also defines a list of HTTP middleware that all requests must pass through before being handled by the application. These middleware handle reading and writing the HTTP session, determine if the application is in maintenance mode, verifying the CSRF token, and more.
The HTTP kernel also defines a list of HTTP `middleware` that all requests must pass through before being handled by the application. These middleware handle reading and writing the HTTP session, determine if the application is in maintenance mode, verifying the CSRF token, and more.

The method signature for the HTTP kernel's `handle` method is quite simple: receive a `Request` and return a `Response`. Think of the Kernel as being a big black box that represents your entire application. Feed it HTTP requests and it will return HTTP responses.

Expand Down

0 comments on commit 4f34506

Please sign in to comment.