|
@@ 28-31 (lines=4) @@
|
| 25 |
|
foreach ($bundles as $bundle) { |
| 26 |
|
$reflection = new \ReflectionClass($bundle); |
| 27 |
|
|
| 28 |
|
if (is_file($file = dirname($reflection->getFilename()) . '/Resources/config/expansion_defaults/core_config.yml')) { |
| 29 |
|
$config = Yaml::parse(file_get_contents(realpath($file))); |
| 30 |
|
$container->prependExtensionConfig('e_xpansion_core', $config['e_xpansion_core']); |
| 31 |
|
} |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
if (is_file($file = $container->getParameter('kernel.root_dir') . '/config/expansion.yml')) { |
|
@@ 34-37 (lines=4) @@
|
| 31 |
|
} |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
if (is_file($file = $container->getParameter('kernel.root_dir') . '/config/expansion.yml')) { |
| 35 |
|
$config = Yaml::parse(file_get_contents(realpath($file))); |
| 36 |
|
$container->prependExtensionConfig('e_xpansion_core', $config['e_xpansion_core']); |
| 37 |
|
} |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
/** |