Final Class Yiisoft\Yii\Debug\Api\Debug\Middleware\MiddlewareDispatcherMiddleware
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Psr\ |
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $middlewareDispatcher | \ |
Yiisoft\ |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
|
| process() | Yiisoft\ |
Property Details
Method Details
| public mixed __construct ( \ | ||
| $middlewareDispatcher | \ |
|
public function __construct(
public MiddlewareDispatcher $middlewareDispatcher,
) {}
| public \ | ||
| $request | \ |
|
| $handler | \ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
return $this->middlewareDispatcher->dispatch($request, $handler);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.