Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function configureOptions(OptionsResolver $resolver) |
||
29 | { |
||
30 | $resolver->setDefaults([ |
||
31 | 'entry_type' => PerUnitRateConfigurationType::class, |
||
32 | 'entry_options' => function (ChannelInterface $channel) { |
||
33 | return [ |
||
34 | 'label' => $channel->getName(), |
||
35 | 'currency' => $channel->getBaseCurrency()->getCode(), |
||
36 | ]; |
||
37 | }, |
||
38 | ]); |
||
39 | } |
||
40 | |||
57 |