//Detect when no user configuration is provided
if ($configs === [[]]) {
//Prepend default config
- $container->prependExtensionConfig($this->getAlias(), $config);
+ $container->prependExtensionConfig(self::getAlias(), $config);
}
//Save configuration in parameters
- $container->setParameter($this->getAlias(), $config);
+ $container->setParameter(self::getAlias(), $config);
+
+ //Set rapsys_pack.path key
+ $container->setParameter(self::getAlias().'.path', $config['path']);
}
/**