Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function process(ContainerBuilder $container) |
||
28 | { |
||
29 | if (!$container->hasDefinition('lug.locale.context')) { |
||
30 | return; |
||
31 | } |
||
32 | |||
33 | $container |
||
34 | ->getDefinition('lug.grid.context.locale') |
||
35 | ->setClass(LocaleContext::class) |
||
36 | ->replaceArgument(0, new Reference('lug.locale.context')); |
||
37 | } |
||
38 | } |
||
39 |