Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function process(ContainerBuilder $container) |
||
15 | { |
||
16 | if ($container->hasDefinition('run_open_code.exchange_rate.form_type.rate_type')) { |
||
17 | |||
18 | $container |
||
19 | ->getDefinition('run_open_code.exchange_rate.form_type.rate_type') |
||
20 | ->setArguments(array( |
||
21 | new Reference('run_open_code.exchange_rate.registry.rates'), |
||
22 | new Reference('translator'), |
||
23 | $container->getParameter('run_open_code.exchange_rate.form_type.rate_type') |
||
24 | )); |
||
25 | } |
||
26 | } |
||
27 | } |
||
28 |