Total Complexity | 3 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
27 | final class MiddlewareAggregator implements MiddlewareInterface |
||
28 | { |
||
29 | /** |
||
30 | * @var MiddlewareInterface[] |
||
31 | */ |
||
32 | private $middlewares; |
||
33 | |||
34 | /** |
||
35 | * MiddlewareAggregator constructor. |
||
36 | * |
||
37 | * @param MiddlewareInterface ...$middlewares |
||
38 | */ |
||
39 | public function __construct(MiddlewareInterface ...$middlewares) |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
||
67 |