src/RunOpenCode/Bundle/ExchangeRate/DependencyInjection/CompilerPass/CurrencyCodeTypeCompilerPass.php 1 location
|
@@ 8-24 (lines=17) @@
|
5 |
|
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
6 |
|
use Symfony\Component\DependencyInjection\ContainerBuilder; |
7 |
|
|
8 |
|
class CurrencyCodeTypeCompilerPass implements CompilerPassInterface |
9 |
|
{ |
10 |
|
/** |
11 |
|
* {@inheritdoc} |
12 |
|
*/ |
13 |
|
public function process(ContainerBuilder $container) |
14 |
|
{ |
15 |
|
if ($container->hasDefinition('run_open_code.exchange_rate.form_type.currency_code_type')) { |
16 |
|
|
17 |
|
$container |
18 |
|
->getDefinition('run_open_code.exchange_rate.form_type.currency_code_type') |
19 |
|
->setArguments(array( |
20 |
|
$container->getParameter('run_open_code.exchange_rate.form_type.currency_code_type') |
21 |
|
)); |
22 |
|
} |
23 |
|
} |
24 |
|
} |
25 |
|
|
src/RunOpenCode/Bundle/ExchangeRate/DependencyInjection/CompilerPass/RateTypeTypeCompilerPass.php 1 location
|
@@ 8-24 (lines=17) @@
|
5 |
|
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
6 |
|
use Symfony\Component\DependencyInjection\ContainerBuilder; |
7 |
|
|
8 |
|
class RateTypeTypeCompilerPass implements CompilerPassInterface |
9 |
|
{ |
10 |
|
/** |
11 |
|
* {@inheritdoc} |
12 |
|
*/ |
13 |
|
public function process(ContainerBuilder $container) |
14 |
|
{ |
15 |
|
if ($container->hasDefinition('run_open_code.exchange_rate.form_type.rate_type_type')) { |
16 |
|
|
17 |
|
$container |
18 |
|
->getDefinition('run_open_code.exchange_rate.form_type.rate_type_type') |
19 |
|
->setArguments(array( |
20 |
|
$container->getParameter('run_open_code.exchange_rate.form_type.rate_type_type') |
21 |
|
)); |
22 |
|
} |
23 |
|
} |
24 |
|
} |
25 |
|
|
src/RunOpenCode/Bundle/ExchangeRate/DependencyInjection/CompilerPass/SourceTypeCompilerPass.php 1 location
|
@@ 8-24 (lines=17) @@
|
5 |
|
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
6 |
|
use Symfony\Component\DependencyInjection\ContainerBuilder; |
7 |
|
|
8 |
|
class SourceTypeCompilerPass implements CompilerPassInterface |
9 |
|
{ |
10 |
|
/** |
11 |
|
* {@inheritdoc} |
12 |
|
*/ |
13 |
|
public function process(ContainerBuilder $container) |
14 |
|
{ |
15 |
|
if ($container->hasDefinition('run_open_code.exchange_rate.form_type.source_type')) { |
16 |
|
|
17 |
|
$container |
18 |
|
->getDefinition('run_open_code.exchange_rate.form_type.source_type') |
19 |
|
->setArguments(array( |
20 |
|
$container->getParameter('run_open_code.exchange_rate.form_type.source_type') |
21 |
|
)); |
22 |
|
} |
23 |
|
} |
24 |
|
} |
25 |
|
|