class Kernel implements Kernel (View source)
| void | __construct( Application $app, Router $router) Create a new HTTP kernel instance. | |
| Response | handle( Request $request) Handle an incoming HTTP request. | |
| void | terminate( Request $request, Response $response) Call the terminate method on any terminable middleware. | |
| $this | prependMiddleware( string $middleware) Add a new middleware to beginning of the stack if it does not already exist. | |
| $this | pushMiddleware( string $middleware) Add a new middleware to end of the stack if it does not already exist. | |
| void | bootstrap() Bootstrap the application for HTTP requests. | |
| bool | hasMiddleware( string $middleware) Determine if the kernel has a given middleware. | |
| Application | getApplication() Get the Laravel application instance. |
Create a new HTTP kernel instance.
Handle an incoming HTTP request.
Call the terminate method on any terminable middleware.
Add a new middleware to beginning of the stack if it does not already exist.
Add a new middleware to end of the stack if it does not already exist.
Bootstrap the application for HTTP requests.
Determine if the kernel has a given middleware.
Get the Laravel application instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Foundation/Http/Kernel.html