| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 42.86% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class RedisMetricsHandlerFactory implements MetricsHandlerFactoryInterface |
||
| 13 | { |
||
| 14 | private LoopInterface $loop; |
||
| 15 | |||
| 16 | public function __construct(LoopInterface $loop) |
||
| 17 | { |
||
| 18 | 2 | $this->loop = $loop; |
|
| 19 | } |
||
| 20 | 2 | ||
| 21 | 2 | public function supports(string $dsn): bool |
|
| 24 | } |
||
| 25 | |||
| 26 | public function create(string $dsn): PromiseInterface |
||
| 32 | } |
||
| 33 | } |
||
| 34 |