| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | final class GetFeaturesFactory |
||
| 13 | { |
||
| 14 | 1 | public function __invoke(ContainerInterface $container): GetFeatures |
|
| 15 | { |
||
| 16 | /** @var FeatureFinder $featureFinder */ |
||
| 17 | 1 | $featureFinder = $container->get(FeatureFinder::class); |
|
| 18 | /** @var ResponseFactoryInterface $responseFactory */ |
||
| 19 | 1 | $responseFactory = $container->get(ResponseFactoryInterface::class); |
|
| 20 | |||
| 21 | 1 | return self::create($featureFinder, $responseFactory); |
|
| 22 | } |
||
| 23 | |||
| 24 | 2 | public static function create(FeatureFinder $featureFinder, ResponseFactoryInterface $responseFactory): GetFeatures |
|
| 27 | } |
||
| 28 | } |
||
| 29 |