MiddlewareDelegate
final class MiddlewareDelegate implements DelegateInterface (View source)
A middleware delegate for running the next delegate
Properties
private MiddlewareInterface | $middleware | ||
private DelegateInterface | $nextDelegate |
Methods
Response
next(Request $request)
Dispatch the next available middleware and return the response.
Details
__construct(MiddlewareInterface $middleware, DelegateInterface $nextDelegate)
No description
Response
next(Request $request)
Dispatch the next available middleware and return the response.