class MiddlewareDispatcher (View source)

Constants

PIPE_EMPTY

Methods

$this
pipe(string $middleware, array $params = [])

Add a middleware to the runtime collection

mixed
process(Request $request, array ...$args)

Start the middleware running process

Details

$this pipe(string $middleware, array $params = [])

Add a middleware to the runtime collection

Parameters

string $middleware
array $params

Return Value

$this

mixed process(Request $request, array ...$args)

Start the middleware running process

Parameters

Request $request
array ...$args

Return Value

mixed