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