- //Set default config in parameter
- if (!$container->hasParameter($alias = $this->getAlias())) {
- $container->setParameter($alias, $config[$alias]);
+ //Detect when no user configuration is provided
+ if ($configs === [[]]) {
+ //Prepend default config
+ $container->prependExtensionConfig($this->getAlias(), $config);