]> Raphaƫl G. Git Repositories - packbundle/blobdiff - DependencyInjection/RapsysPackExtension.php
Import contact form
[packbundle] / DependencyInjection / RapsysPackExtension.php
index d6e3c8005cbc06ad3228a10bfcb342bc318c04f4..3a6ed53cbf716ca0ed208484b06661217ba0df0c 100644 (file)
 
 namespace Rapsys\PackBundle\DependencyInjection;
 
 
 namespace Rapsys\PackBundle\DependencyInjection;
 
+use Rapsys\PackBundle\RapsysPackBundle;
+
 use Symfony\Component\DependencyInjection\ContainerBuilder;
 use Symfony\Component\DependencyInjection\Extension\Extension;
 
 use Symfony\Component\DependencyInjection\ContainerBuilder;
 use Symfony\Component\DependencyInjection\Extension\Extension;
 
-use Rapsys\PackBundle\RapsysPackBundle;
-
 /**
  * This is the class that loads and manages your bundle configuration.
  *
 /**
  * This is the class that loads and manages your bundle configuration.
  *
@@ -49,8 +49,11 @@ class RapsysPackExtension extends Extension {
                //Set rapsyspack.alias key
                $container->setParameter($alias.'.alias', $alias);
 
                //Set rapsyspack.alias key
                $container->setParameter($alias.'.alias', $alias);
 
-               //Set rapsyspack.path key
-               $container->setParameter($alias.'.path', $config['path']);
+               //Set rapsyspack.cache key
+               $container->setParameter($alias.'.cache', $config['cache']);
+
+               //Set rapsyspack.public key
+               $container->setParameter($alias.'.public', $config['public']);
 
                //Set rapsyspack.version key
                $container->setParameter($alias.'.version', RapsysPackBundle::getVersion());
 
                //Set rapsyspack.version key
                $container->setParameter($alias.'.version', RapsysPackBundle::getVersion());