Conditions | 4 |
Paths | 3 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 4 |
Changes | 0 |
1 | <?php |
||
31 | 36 | public function process(ContainerBuilder $container) |
|
32 | { |
||
33 | 36 | foreach (self::$factoryServiceIds as $id) { |
|
34 | 3 | if (!$container->hasAlias($id) && !$container->hasDefinition($id)) { |
|
35 | 1 | throw new ServiceNotFoundException(sprintf('Factory with ID "%s" could not be found', $id)); |
|
36 | } |
||
37 | } |
||
38 | 35 | } |
|
39 | |||
48 |