| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class HandlerProviderWithChain implements HandlerProvider |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @param iterable<HandlerProvider> $providers |
||
| 21 | */ |
||
| 22 | public function __construct( |
||
| 23 | private iterable $providers |
||
| 24 | ) { |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getHandlerForMessage(object $message): ?callable |
||
| 38 | } |
||
| 39 | } |
||
| 40 |