- /**
- * {@inheritdoc}
- */
- public function getConfiguration(array $configs, ContainerBuilder $container) {
- //Get configuration instance with resolved web path
- return new Configuration($container->getParameter('kernel.project_dir').'/web/');
+ //Save configuration in parameters
+ $container->setParameter(self::getAlias(), $config);
+
+ //Set rapsys_pack.public.path key
+ $container->setParameter(self::getAlias().'.public.path', $config['public']['path']);
+
+ //Set rapsys_pack.public.url key
+ $container->setParameter(self::getAlias().'.public.url', $config['public']['url']);