interface MiddlewareInterface (View source)

Interface that middleware must implement

Methods

ResponseInterface
handle(Request $request, Closure $next)

Execute middleware

Details

ResponseInterface handle(Request $request, Closure $next)

Execute middleware

Parameters

Request $request
Closure $next

Return Value

ResponseInterface