| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class MiddlewareGatherer |
||
| 12 | { |
||
| 13 | private MiddlewareRegistry $middlewareRegistry; |
||
| 14 | |||
| 15 | public function __construct(MiddlewareRegistry $middlewareRegistry) |
||
| 16 | { |
||
| 17 | $this->middlewareRegistry = $middlewareRegistry; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param Middleware[] $attributes |
||
| 22 | * |
||
| 23 | * @throws MiddlewareNotConfigured |
||
| 24 | * |
||
| 25 | * @return MiddlewareInterface[] |
||
| 26 | */ |
||
| 27 | public function gather(array $attributes): array |
||
| 40 | } |
||
| 41 | } |
||
| 42 |