We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17e06d1 commit 141c72dCopy full SHA for 141c72d
resources/config/default.php
@@ -6,8 +6,12 @@
6
if (preg_match('&/([a-zA-Z]+?)Bundle&', $kernelRootDir, $matches)) {
7
$bundleName = $matches[1].'Bundle';
8
$bundleFQN = 'Symfony\\Cmf\\Bundle\\'.$matches[1].'Bundle';
9
- $container->setParameter('cmf_testing.bundle_name', $bundleName);
10
- $container->setParameter('cmf_testing.bundle_fqn', $bundleFQN);
+ if (!$container->hasParameter('cmf_testing.bundle_name')) {
+ $container->setParameter('cmf_testing.bundle_name', $bundleName);
11
+ }
12
+ if (!$container->hasParameter('cmf_testing.bundle_fqn')) {
13
+ $container->setParameter('cmf_testing.bundle_fqn', $bundleFQN);
14
15
}
16
17
$loader->import('dist/parameters.yml');
0 commit comments