| Total Complexity | 5 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 20% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class ContainerRegistry implements HandlerRegistryInterface |
||
| 13 | { |
||
| 14 | /** @var ContainerInterface */ |
||
| 15 | private $container; |
||
| 16 | /** @var \Doctrine\Inflector\Inflector */ |
||
| 17 | private $inflector; |
||
| 18 | |||
| 19 | 2 | public function __construct(ContainerInterface $container) |
|
| 20 | { |
||
| 21 | 2 | $this->container = $container; |
|
| 22 | 2 | $this->inflector = (new InflectorFactory())->build(); |
|
| 23 | } |
||
| 24 | |||
| 25 | public function getHandler(string $jobType): HandlerInterface |
||
| 38 | } |
||
| 39 | |||
| 40 | private function className(string $jobType): string |
||
| 48 | } |
||
| 49 | } |
||
| 50 |