| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | final class DisableFeatureFactory |
||
| 12 | { |
||
| 13 | 1 | public function __invoke(ContainerInterface $container): DisableFeature |
|
| 14 | { |
||
| 15 | /** @var FeatureRepository $featureRepository */ |
||
| 16 | 1 | $featureRepository = $container->get(FeatureRepository::class); |
|
| 17 | |||
| 18 | 1 | return self::create($featureRepository); |
|
| 19 | } |
||
| 20 | |||
| 21 | 2 | public static function create(FeatureRepository $featureRepository): DisableFeature |
|
| 24 | } |
||
| 25 | } |
||
| 26 |