| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class DeliveryMiddleware implements MiddlewareInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var MessageHandlerFactoryInterface |
||
| 14 | */ |
||
| 15 | private $handlerFactory; |
||
| 16 | |||
| 17 | 2 | public function __construct(MessageHandlerFactoryInterface $handlerFactory) |
|
| 18 | { |
||
| 19 | 2 | $this->handlerFactory = $handlerFactory; |
|
| 20 | 2 | } |
|
| 21 | |||
| 22 | 2 | public function deliver(MessageInterface $message, callable $next): void |
|
| 27 | 2 | } |
|
| 28 | } |
||
| 29 |