Kernel
class Kernel implements Kernel (View source)
Methods
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. |
Please login to continue.