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