Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function process(ContainerBuilder $container) |
||
28 | { |
||
29 | $liipImagineDriver = $container->getParameter('liip_imagine.driver_service'); |
||
30 | |||
31 | if (!$container->hasDefinition($liipImagineDriver)) { |
||
32 | throw new InvalidConfigurationException(sprintf( |
||
33 | "Specified driver '%s' is not defined.", $liipImagineDriver |
||
34 | )); |
||
35 | } |
||
36 | } |
||
37 | } |
||
38 |