MiddlewareDispatcher
class MiddlewareDispatcher (View source)
Constants
private PIPE_EMPTY |
|
Methods
pipe(string|callable $middleware, array $params = [])
Add a middleware to the runtime collection
Details
MiddlewareDispatcher
pipe(string|callable $middleware, array $params = [])
Add a middleware to the runtime collection
mixed
process(Request $request, array ...$args)
Start the middleware running process